diff options
Diffstat (limited to 'libf2c/configure')
-rwxr-xr-x | libf2c/configure | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libf2c/configure b/libf2c/configure index ff950127844..c55d97b2864 100755 --- a/libf2c/configure +++ b/libf2c/configure @@ -796,7 +796,7 @@ toplevel_srcdir=\${top_srcdir}/$toprel # These need to be absolute paths, yet at the same time need to # canonicalize only relative paths, because then amd will not unmount # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd. -glibcpp_builddir=`pwd` +glibcpp_builddir=`${PWDCMD-pwd}` case $srcdir in \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;; *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;; |