[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Quilt-dev] CDPATH should be cleared
From: |
Joe Green |
Subject: |
[Quilt-dev] CDPATH should be cleared |
Date: |
Sun, 11 Jul 2004 14:40:48 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 |
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. I use this small patch to disable
CDPATH within quilt.
--
Joe Green <address@hidden>
MontaVista Software, Inc.
Source: MontaVista Software, Inc
Type: Bug Fix
Description:
Unset the CDPATH variable so that cd operations in the quilt scripts
cannot go to the wrong directory and do not echo the directory path.
Index: quilt-0.34/bin/quilt.in
===================================================================
--- quilt-0.34.orig/bin/quilt.in 2004-07-01 21:50:11.000000000 +0000
+++ quilt-0.34/bin/quilt.in 2004-06-29 21:59:44.000000000 +0000
@@ -6,6 +6,8 @@
#
# See the COPYING and AUTHORS files for more details.
+unset CDPATH
+
export TEXTDOMAIN=quilt
if [ -z "$QUILTRC" ]
- [Quilt-dev] CDPATH should be cleared,
Joe Green <=