[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] find(1) needs a path before any expression.
From: |
Han-Wen Nienhuys |
Subject: |
Re: [PATCH] find(1) needs a path before any expression. |
Date: |
Sun, 24 Apr 2011 16:01:33 -0300 |
LGTM
On Sun, Apr 24, 2011 at 3:32 PM, Matthias Kilian <address@hidden> wrote:
> 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
>
>
> _______________________________________________
> lilypond-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-devel
>
--
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen