X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=bin%2Fminstall;h=8ee96089fa618d7d98866f5bb59420294501eb6b;hb=aba88b7ed7a1346adada9532aed9633617eb3b6d;hp=819b2bc7e4acfa58a93755ca40414ce356c25aa5;hpb=c9795c6ca253b25b2b15967b064f32d9b822a1c8;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"