]> git.eshelyaron.com Git - emacs.git/commitdiff
Use "sh -c pwd" when we want to avoid having the
authorRichard M. Stallman <rms@gnu.org>
Sun, 19 Sep 1993 20:04:21 +0000 (20:04 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 19 Sep 1993 20:04:21 +0000 (20:04 +0000)
shell fix up the value of $PWD.

configure1.in

index 23cdd962141ced0418672fa5b2ea09c11b9cb14f..48883384d1567ed7371f934be72c7faf0cd0f033 100755 (executable)
@@ -353,7 +353,7 @@ case "${srcdir}" in
   . )
     ## We may be able to use the $PWD environment variable to make this
     ## absolute.  But sometimes PWD is inaccurate.
-    if [ "${PWD}" != "" ] && [ "`(cd ${PWD} ; pwd)`" = "`pwd`" ] ; then
+    if [ "${PWD}" != "" ] && [ "`(cd ${PWD} ; sh -c pwd)`" = "`pwd`" ] ; then
       srcdir="$PWD"
     else
       srcdir="`(cd ${srcdir}; pwd)`"