From: jweiss Date: Thu, 31 Jul 2008 21:35:01 +0000 (+0000) Subject: tell linux sh cd/pwd not to be so "helpful" X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/commitdiff_plain/52a20deb5bd5bc9e35857f7f23d09e6f2955d6e4 tell linux sh cd/pwd not to be so "helpful" --- diff --git a/gen/hesiod.sh b/gen/hesiod.sh index 6a483ad1..fe5e84ce 100644 --- a/gen/hesiod.sh +++ b/gen/hesiod.sh @@ -44,6 +44,10 @@ fi # on the same parition as $DEST_DIR. if test ! -d $SRC_DIR then + # Tell linux cd/pwd not to be so "helpful". + # This will generate an ignorable error on older platforms. + set -P + cd $DEST_DIR mkdir ../_nameserver cd ../_nameserver