summaryrefslogtreecommitdiff
path: root/config/prep_buildtree
diff options
context:
space:
mode:
Diffstat (limited to 'config/prep_buildtree')
-rw-r--r--config/prep_buildtree2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/prep_buildtree b/config/prep_buildtree
index a9faea85a89..7dbcf3166e2 100644
--- a/config/prep_buildtree
+++ b/config/prep_buildtree
@@ -29,7 +29,7 @@ for item in `find "$sourcetree" -type d \( -name CVS -prune -o -print \)`; do
fi
done
-for item in `find "$sourcetree" -name Makefile -o -name GNUmakefile`; do
+for item in `find "$sourcetree" -name Makefile -print -o -name GNUmakefile -print`; do
subdir=`expr "$item" : "$sourcetree\(.*\)"`
if test ! -f "${item}.in"; then
ln -fs "$item" "$buildtree/$subdir" || exit 1