Skip to content

Commit 9350824

Browse files
committed
find -path is not portable, so use grep -v instead.
Per previous failure of buildfarm member koi (which is no longer failing, alas).
1 parent 4ba61a4 commit 9350824

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/prep_buildtree

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ buildtree=`cd ${2:-'.'} && pwd`
2626
# If we did, it would interfere with installation of prebuilt docs from
2727
# the source tree, if a VPATH build is done from a distribution tarball.
2828
# See bug #5595.
29-
for item in `find "$sourcetree" -type d \( \( -name CVS -prune \) -o \( -name .git -prune \) -o \( -path "$sourcetree/doc/src/sgml/*" -prune \) -o -print \)`; do
29+
for item in `find "$sourcetree" -type d \( \( -name CVS -prune \) -o \( -name .git -prune \) -o -print \) | grep -v "$sourcetree/doc/src/sgml/\+"`; do
3030
subdir=`expr "$item" : "$sourcetree\(.*\)"`
3131
if test ! -d "$buildtree/$subdir"; then
3232
mkdir -p "$buildtree/$subdir" || exit 1

0 commit comments

Comments
 (0)