X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=bin%2Fminstall;h=8ee96089fa618d7d98866f5bb59420294501eb6b;hb=7f44b62a4a90242ef824f9751affe5c46e401691;hp=819b2bc7e4acfa58a93755ca40414ce356c25aa5;hpb=d214138910218a24e8ae427d5ec6ff886dcb98a8;p=mesa.git diff --git a/bin/minstall b/bin/minstall index 819b2bc7e4a..8ee96089fa6 100755 --- a/bin/minstall +++ b/bin/minstall @@ -42,6 +42,8 @@ if [ $# -ge 2 ] ; then exit 0 fi + PWDSAVE=`pwd` + # determine file's type if [ -h "$FILE" ] ; then #echo $FILE is a symlink @@ -57,7 +59,6 @@ if [ $# -ge 2 ] ; then FILE=`basename "$FILE"` # Go to $DEST and make the link - PWDSAVE="$PWD" cd "$DEST" # pushd $RM "$FILE" $SYMLINK "$TARGET" "$FILE"