From: Matthias Kilian Date: Sun, 24 Apr 2011 18:32:40 +0000 (+0200) Subject: find(1) needs a path before any expression. X-Git-Tag: release/2.13.61-1~5 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=3977c48bbac80c2731f3b764860c4d183f934fce;p=lilypond.git find(1) needs a path before any expression. This unbreaks the build in a separate directory on OpenBSD. --- diff --git a/stepmake/aclocal.m4 b/stepmake/aclocal.m4 index c06224717b..8fe2dddb72 100644 --- a/stepmake/aclocal.m4 +++ b/stepmake/aclocal.m4 @@ -406,7 +406,7 @@ EOF fi for d in 2 3 4 ; do - for mf in `cd $srcdir ; find -maxdepth $d -mindepth $d -name GNUmakefile`; do + for mf in `cd $srcdir ; find . -maxdepth $d -mindepth $d -name GNUmakefile`; do mkdir -p $(dirname $mf) cat < $mf print 'depth=' + ('../' * ( $d-1 ) ) @@ -415,7 +415,7 @@ print 'include \$(configure-srcdir)/$mf' print 'MODULE_INCLUDES += \$(src-dir)/\$(outbase)' EOF done - for mf in `cd $srcdir ; find -maxdepth $d -mindepth $d -name '*.make' | grep -v config.make `; do + for mf in `cd $srcdir ; find . -maxdepth $d -mindepth $d -name '*.make' | grep -v config.make `; do mkdir -p $(dirname $mf) cat < $mf print 'include \$(depth)/config\$(if \$(conf),-\$(conf),).make'