diff --git a/install.sh b/install.sh index b0e68d9..8e1f725 100755 --- a/install.sh +++ b/install.sh @@ -1,5 +1,8 @@ #!/bin/bash INSTALL_BASEFILE=`readlink -f $0` +if [ -z $INSTALL_BASEFILE ]; then + INSTALL_BASEFILE="$PWD/$0" +fi INSTALL_BASEDIR=`dirname $INSTALL_BASEFILE` CMD="ln -sfn"