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

to avoid problems with the automounter.

From-SVN: r3119
This commit is contained in:
Richard Stallman 1993-01-06 10:54:53 +00:00
parent 6ef797eaac
commit e1fa48b5f3

View File

@ -32,8 +32,14 @@ if [ ! -d $LIB ]; then
mkdir $LIB || exit 1
fi
# Make LIB absolute.
cd $LIB; LIB=`${PWDCMD}`
# Make LIB absolute only if needed to avoid problems with the amd.
case $LIB in
/*)
;;
*)
cd $LIB; LIB=`${PWDCMD}`
;;
esac
# Fail if no arg to specify a directory for the output.
if [ x$1 = x ]