[X2Go-Commits] [buildscripts] 01/01: bin/common.sh: unset CDPATH proactively.
git-admin at x2go.org
git-admin at x2go.org
Sun May 10 06:53:20 CEST 2015
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository buildscripts.
commit 33600b7a0ee6232d5863509db496d4026a3c8ac8
Author: Mihai Moldovan <ionic at ionic.de>
Date: Sun May 10 06:53:19 2015 +0200
bin/common.sh: unset CDPATH proactively.
---
bin/common.sh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/bin/common.sh b/bin/common.sh
index 9d77386..4ea5345 100644
--- a/bin/common.sh
+++ b/bin/common.sh
@@ -19,6 +19,9 @@
export PATH="${HOME}/bin:${PATH}"
+# ${CDPATH} could lead to some very nasty problems. Better unset it.
+unset CDPATH
+
# Takes a pseudo-boolean string representation and converts it into
# either 0 or 1.
# The result is printed as a string without a trailing newline.
--
Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git
More information about the x2go-commits
mailing list