[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bugs #12064] make distclean deletes a distributed file
From: |
anonymous |
Subject: |
[bugs #12064] make distclean deletes a distributed file |
Date: |
Sun, 27 Feb 2005 23:02:15 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.4) Gecko/20041214 |
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.
(address@hidden) ~/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/