]> git.donarmstrong.com Git - lilypond.git/commitdiff
find(1) needs a path before any expression.
authorMatthias Kilian <kili@outback.escape.de>
Sun, 24 Apr 2011 18:32:40 +0000 (20:32 +0200)
committerGraham Percival <graham@percival-music.ca>
Mon, 25 Apr 2011 11:13:36 +0000 (12:13 +0100)
This unbreaks the build in a separate directory on OpenBSD.

stepmake/aclocal.m4

index c06224717b002f795b4ef184a37f48931c1b15f9..8fe2dddb728027d6ea956c7c65655923d673924d 100644 (file)
@@ -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 <<EOF | $PYTHON -  > $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 <<EOF | $PYTHON -  > $mf
 print 'include \$(depth)/config\$(if \$(conf),-\$(conf),).make'