summaryrefslogtreecommitdiff
path: root/libf2c/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'libf2c/Makefile.in')
-rw-r--r--libf2c/Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/libf2c/Makefile.in b/libf2c/Makefile.in
index ef42e39d1a7..35f77d1eb78 100644
--- a/libf2c/Makefile.in
+++ b/libf2c/Makefile.in
@@ -20,6 +20,7 @@
#02111-1307, USA.
SHELL = /bin/sh
+PWD = $${PWDCMD-pwd}
MAKEOVERRIDES=
.NOEXPORTS:
@@ -255,8 +256,8 @@ rebuilt: configure
installcheck installdirs all-unilib
subdir_do:
- @rootpre=`pwd`/; export rootpre; \
- srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
+ @rootpre=`${PWD}`/; export rootpre; \
+ srcrootpre=`cd $(srcdir); ${PWD}`/; export srcrootpre; \
for i in .. $(DODIRS); do \
if [ x$$i != x.. ]; then \
if [ -f ./$$i/Makefile ]; then \