Mac doesn't have readlink -f the way linux seems to
This commit is contained in:
parent
2527e1a0d1
commit
433fb1da50
1 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
INSTALL_BASEFILE=`readlink -f $0`
|
INSTALL_BASEFILE=`readlink -f $0`
|
||||||
|
if [ -z $INSTALL_BASEFILE ]; then
|
||||||
|
INSTALL_BASEFILE="$PWD/$0"
|
||||||
|
fi
|
||||||
INSTALL_BASEDIR=`dirname $INSTALL_BASEFILE`
|
INSTALL_BASEDIR=`dirname $INSTALL_BASEFILE`
|
||||||
|
|
||||||
CMD="ln -sfn"
|
CMD="ln -sfn"
|
||||||
|
|
Loading…
Reference in a new issue