[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] find(1) needs a path before any expression.
From: |
Matthias Kilian |
Subject: |
[PATCH] find(1) needs a path before any expression. |
Date: |
Sun, 24 Apr 2011 20:32:40 +0200 |
This unbreaks the build in a separate directory on OpenBSD.
---
stepmake/aclocal.m4 | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/stepmake/aclocal.m4 b/stepmake/aclocal.m4
index c062247..8fe2ddd 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'
--
1.7.3.5
- [PATCH] find(1) needs a path before any expression.,
Matthias Kilian <=