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
ORIG_DIR=`pwd`
# Make LIB absolute.
cd $LIB; LIB=`pwd`
# Make LIB absolute if it is relative.
# 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}
......
......@@ -53,8 +53,15 @@ fi
ORIG_DIR=`pwd`
# Make LIB absolute.
cd $LIB; LIB=`pwd`
# Make LIB absolute if it is relative.
# 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
# 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