Follow-up Comment #4, bugs #12064 (project findutils):
I did some follow-up work on this.
The problem is that bash prints the current directory
after a `cd' if CDPATH is defined.
So this code in import-gnulib.sh:
printf "%s" "EXTRA_DIST = "
cd gnulib/m4
ls *.m4 | sed -e 's/$/ \\/' | sed -e '$ s/\\$//'
had undesired extra output from the cd command.
([EMAIL PROTECTED]) ~/src/findutils/findutils $ diff -u import-gnulib.sh~
import-gnulib.sh
--- import-gnulib.sh~ 2005-01-24 01:37:19.000000000 -0800
+++ import-gnulib.sh 2005-02-27 14:49:28.000000000 -0800
@@ -32,6 +32,7 @@
destdir="gnulib"
+unset CDPATH
# Modules needed for findutils itself.
findutils_modules="\
Note that automake, for example, is also careful to
unset CDPATH.
./share/autoconf/m4sugar/m4sh.m4:220:# CDPATH.
./share/autoconf/m4sugar/m4sh.m4:221:$as_unset CDPATH
If you don't have enough to worry about, you might
also want to worry about IFS...
Martin
_______________________________________________________
This item URL is:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=12064>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-findutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-findutils