]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/fixinc/fixincl.sh
Makefile.in: Allow for PWDCMD to override hardcoded pwd.
[thirdparty/gcc.git] / gcc / fixinc / fixincl.sh
index b84d7014d97632c764a7cc197a61a0646dfdd7ea..422fc5cbe6f5330126e93e0e736da5f6ac4ae943 100755 (executable)
@@ -8,7 +8,7 @@
 #
 # See README-fixinc for more information.
 #
-#  fixincludes copyright (c) 1998, 1999, 2000
+#  fixincludes copyright (c) 1998, 1999, 2000, 2002
 #  The Free Software Foundation, Inc.
 #
 # fixincludes is free software.
@@ -84,7 +84,7 @@ export target_canonical
 #
 # Define PWDCMD as a command to use to get the working dir
 # in the form that we want.
-PWDCMD=pwd
+PWDCMD=${PWDCMD-pwd}
 
 case "`$PWDCMD`" in
 //*)