summaryrefslogtreecommitdiffstats
path: root/scripts/patchfns.in
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2004-07-12 00:57:45 +0000
committerAndreas Gruenbacher <agruen@suse.de>2004-07-12 00:57:45 +0000
commitc4054a0147a49c12b258f5da4c52eeae18e7e702 (patch)
tree13f730ac6349309a87113d397f18de1acc7ac1e0 /scripts/patchfns.in
parent963347acfe1a59a28c07bdd9479a8a98266611ac (diff)
downloadquilt-c4054a0147a49c12b258f5da4c52eeae18e7e702.tar.gz
- Disable CDPATH within quilt (Joe Green writes: I've seen some
cases where having CDPATH set results in the path being printed by cd, and I suppose it's possible that the wrong destination might be selected in some cases.)
Diffstat (limited to 'scripts/patchfns.in')
-rw-r--r--scripts/patchfns.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/patchfns.in b/scripts/patchfns.in
index 202a114..a1b553a 100644
--- a/scripts/patchfns.in
+++ b/scripts/patchfns.in
@@ -21,6 +21,8 @@ DB_VERSION=2
: ${QUILT_PATCHES:=patches}
: ${QUILT_PC:=.pc}
+unset CDPATH
+
if [ -e "$QUILTRC" ]
then
source "$QUILTRC"