diff options
author | James Youngman <jay@gnu.org> | 2011-05-24 01:59:17 +0100 |
---|---|---|
committer | James Youngman <jay@gnu.org> | 2011-05-24 01:59:17 +0100 |
commit | 737271852a335e5e7f1963271767e3c9e18ff62c (patch) | |
tree | 1a52a4e109b2228d7644cdab4070a571fdc83b7f | |
parent | 804ff7b90e71af1660c0b71be495c2551795cea9 (diff) | |
download | findutils-737271852a335e5e7f1963271767e3c9e18ff62c.tar.gz |
Fix Savannah bug #33384.
* locate/updatedb.sh: Don't reset $PATH, because the hard-coded
value we were using isn't guaranteed to contain all the utilities
(for example rm, chmod and so on) we would like to use.
* NEWS: Mention this bugfix.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | locate/updatedb.sh | 2 |
3 files changed, 10 insertions, 2 deletions
@@ -1,3 +1,11 @@ +2011-05-24 James Youngman <jay@gnu.org> + + Fix Savannah bug #33384. + * locate/updatedb.sh: Don't reset $PATH, because the hard-coded + value we were using isn't guaranteed to contain all the utilities + (for example rm, chmod and so on) we would like to use. + * NEWS: Mention this bugfix. + 2011-05-22 James Youngman <jay@gnu.org> Don't assume that "echo" lives in /bin. @@ -11,6 +11,8 @@ installed, whichever is appropriate. ** Bug Fixes +#33384: If rm/chmod etc. are not in /bin or /usr/bin, updatedb fails + #18227: find -ls does not display device major/minor numbers. #29698: Correct and clarify documentation of xargs -d option diff --git a/locate/updatedb.sh b/locate/updatedb.sh index 7828b645..94757023 100644 --- a/locate/updatedb.sh +++ b/locate/updatedb.sh @@ -246,8 +246,6 @@ do done -PATH=/bin:/usr/bin:${BINDIR}; export PATH - : ${PRUNEFS="nfs NFS proc afs smbfs autofs iso9660 ncpfs coda devpts ftpfs devfs mfs sysfs shfs"} if test -n "$PRUNEFS"; then |