aboutsummaryrefslogtreecommitdiff
path: root/gcc/fixinc/fixinc.winnt
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fixinc/fixinc.winnt')
-rw-r--r--gcc/fixinc/fixinc.winnt4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/fixinc/fixinc.winnt b/gcc/fixinc/fixinc.winnt
index 8fd6e53..de0f847 100644
--- a/gcc/fixinc/fixinc.winnt
+++ b/gcc/fixinc/fixinc.winnt
@@ -35,7 +35,7 @@
#
# See README-fixinc for more information.
-ORIG_DIR=`pwd`
+ORIG_DIR=`${PWDCMD-pwd}`
# Directory containing the original header files.
cd $2; SEDFILE=`${PWDCMD-pwd}`/fixinc-nt.sed
@@ -65,7 +65,7 @@ if [ ! -d $LIB ]; then
mkdir $LIB || exit 1
fi
-ORIG_DIR=`pwd`
+ORIG_DIR=`${PWDCMD-pwd}`
# Make LIB absolute if it is relative.
# Don't do this if not necessary, since may screw up automounters.