From: Matthias Kilian <kili@outback.escape.de>
Date: Sun, 24 Apr 2011 18:32:40 +0000 (+0200)
Subject: find(1) needs a path before any expression.
X-Git-Tag: release/2.15.0-1~83
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=8f4f11d08a43df534f9b720395f7e11a989e1664;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 <<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'