bootstrap: don't let a user's CDPATH setting affect this script
authorJim Meyering <meyering@redhat.com>
Thu, 19 Apr 2012 14:02:23 +0000 (16:02 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 19 Apr 2012 14:07:12 +0000 (16:07 +0200)
commit28c2a36d502603738c26d59f7d9bd16f27010835
tree27494faa594036329f90e1d98d29f0b0b9825c99
parent639ea5ae15e39fe48d43e04864b2997301e4b969
bootstrap: don't let a user's CDPATH setting affect this script

When CDPATH is set, cd will sometimes generate output.
When "cd" is run in a subshell whose output matters, that
surprising-to-some output can cause malfunction.
Unsetting CDPATH turns off this shell "feature."
* build-aux/bootstrap (CDPATH): Unset.
Reported by Reuben Thomas in:
http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/30435
and inspired by his patch here:
http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/30440
ChangeLog
build-aux/bootstrap