Work around a problem when the absolute path is specified
--HG-- branch : bgschaid/minorAdditionsBranch
This commit is contained in:
parent
1ef994d85c
commit
51a28461e9
1 changed files with 4 additions and 0 deletions
|
@ -47,6 +47,10 @@ export WM_PROJECT_VERSION=1.6-ext
|
|||
if [ -z "$WM_PROJECT_VERSION_ADDITION" ]
|
||||
then
|
||||
fullScriptPath=`pwd`"/$0"
|
||||
if [ ! -e $fullScriptPath ]
|
||||
then
|
||||
fullScriptPath=$0
|
||||
fi
|
||||
canonicalFullScriptPath="$(readlink 2>&1 -f $fullScriptPath)"
|
||||
if [ $? != 0 ]
|
||||
then
|
||||
|
|
Reference in a new issue