diff --git a/Common/3dParty/boost/build.sh b/Common/3dParty/boost/build.sh index 2791f762bb..bb3b8f2248 100755 --- a/Common/3dParty/boost/build.sh +++ b/Common/3dParty/boost/build.sh @@ -1,6 +1,6 @@ #!/bin/bash -SCRIPT=$(readlink -f "$0") +SCRIPT=$(readlink -f "$0" || grealpath "$0") SCRIPTPATH=$(dirname "$SCRIPT") os=$(uname -s) diff --git a/Common/3dParty/boost/fetch.sh b/Common/3dParty/boost/fetch.sh index 1aebb34b7e..4970c3199a 100755 --- a/Common/3dParty/boost/fetch.sh +++ b/Common/3dParty/boost/fetch.sh @@ -1,6 +1,6 @@ #!/bin/bash -SCRIPT=$(readlink -f "$0") +SCRIPT=$(readlink -f "$0" || grealpath "$0") SCRIPTPATH=$(dirname "$SCRIPT") os=$(uname -s) diff --git a/Common/3dParty/cef/fetch.sh b/Common/3dParty/cef/fetch.sh index 94880457a3..4fd70c9c04 100755 --- a/Common/3dParty/cef/fetch.sh +++ b/Common/3dParty/cef/fetch.sh @@ -1,6 +1,6 @@ #!/bin/bash -SCRIPT=$(readlink -f "$0") +SCRIPT=$(readlink -f "$0" || grealpath "$0") SCRIPTPATH=$(dirname "$SCRIPT") os=$(uname -s) diff --git a/Common/3dParty/icu/fetch.sh b/Common/3dParty/icu/fetch.sh index 76da0549bd..84da359c88 100755 --- a/Common/3dParty/icu/fetch.sh +++ b/Common/3dParty/icu/fetch.sh @@ -1,6 +1,6 @@ #!/bin/bash -SCRIPT=$(readlink -f "$0") +SCRIPT=$(readlink -f "$0" || grealpath "$0") SCRIPTPATH=$(dirname "$SCRIPT") os=$(uname -s) diff --git a/Common/3dParty/make.sh b/Common/3dParty/make.sh index 6e57f6d331..55314350a9 100755 --- a/Common/3dParty/make.sh +++ b/Common/3dParty/make.sh @@ -1,6 +1,6 @@ #!/bin/bash -SCRIPT=$(readlink -f "$0") +SCRIPT=$(readlink -f "$0" || grealpath "$0") SCRIPTPATH=$(dirname "$SCRIPT") cd "$SCRIPTPATH" diff --git a/Common/3dParty/openssl/build.sh b/Common/3dParty/openssl/build.sh index e5ae5e2f0d..29f47b2032 100755 --- a/Common/3dParty/openssl/build.sh +++ b/Common/3dParty/openssl/build.sh @@ -1,6 +1,6 @@ #!/bin/bash -SCRIPT=$(readlink -f "$0") +SCRIPT=$(readlink -f "$0" || grealpath "$0") SCRIPTPATH=$(dirname "$SCRIPT") cd "$SCRIPTPATH"/openssl diff --git a/Common/3dParty/openssl/fetch.sh b/Common/3dParty/openssl/fetch.sh index da6e2c3b7f..400bb0a794 100755 --- a/Common/3dParty/openssl/fetch.sh +++ b/Common/3dParty/openssl/fetch.sh @@ -1,6 +1,6 @@ #!/bin/bash -SCRIPT=$(readlink -f "$0") +SCRIPT=$(readlink -f "$0" || grealpath "$0") SCRIPTPATH=$(dirname "$SCRIPT") cd "$SCRIPTPATH" diff --git a/Common/3dParty/v8/build.sh b/Common/3dParty/v8/build.sh index b4e0061d46..281dbc65a9 100755 --- a/Common/3dParty/v8/build.sh +++ b/Common/3dParty/v8/build.sh @@ -2,7 +2,7 @@ export PATH=`pwd`/depot_tools:"$PATH" -SCRIPT=$(readlink -f "$0") +SCRIPT=$(readlink -f "$0" || grealpath "$0") SCRIPTPATH=$(dirname "$SCRIPT") os=$(uname -s) diff --git a/Common/3dParty/v8/fetch.sh b/Common/3dParty/v8/fetch.sh index 30efe4b6c3..8e1c78fdd6 100755 --- a/Common/3dParty/v8/fetch.sh +++ b/Common/3dParty/v8/fetch.sh @@ -1,6 +1,6 @@ #!/bin/bash -SCRIPT=$(readlink -f "$0") +SCRIPT=$(readlink -f "$0" || grealpath "$0") SCRIPTPATH=$(dirname "$SCRIPT") cd "$SCRIPTPATH"