Commit 160faa07 by Richard Stallman

Don't "make LIB absolute" if already absolute,

to avoid problems with the automounter.

From-SVN: r3137
parent b7526ea5
...@@ -58,8 +58,15 @@ fi ...@@ -58,8 +58,15 @@ fi
ORIG_DIR=`pwd` ORIG_DIR=`pwd`
# Make LIB absolute. # Make LIB absolute if it is relative.
cd $LIB; LIB=`pwd` # Don't do this if not necessary, since may screw up automounters.
case $LIB in
/*)
;;
*)
cd $LIB; LIB=`${PWDCMD}`
;;
esac
echo 'Building fixincludes in ' ${LIB} echo 'Building fixincludes in ' ${LIB}
......
...@@ -53,8 +53,15 @@ fi ...@@ -53,8 +53,15 @@ fi
ORIG_DIR=`pwd` ORIG_DIR=`pwd`
# Make LIB absolute. # Make LIB absolute if it is relative.
cd $LIB; LIB=`pwd` # Don't do this if not necessary, since may screw up automounters.
case $LIB in
/*)
;;
*)
cd $LIB; LIB=`${PWDCMD}`
;;
esac
# This prevents /bin/ex from failing if the current terminal type is # This prevents /bin/ex from failing if the current terminal type is
# unrecognizable. # unrecognizable.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment