From 3977c48bbac80c2731f3b764860c4d183f934fce Mon Sep 17 00:00:00 2001 From: Matthias Kilian Date: Sun, 24 Apr 2011 20:32:40 +0200 Subject: [PATCH] find(1) needs a path before any expression. This unbreaks the build in a separate directory on OpenBSD. --- stepmake/aclocal.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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' -- 2.39.2