summaryrefslogtreecommitdiff
path: root/scripts/travis-common.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/travis-common.sh')
-rw-r--r--scripts/travis-common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/travis-common.sh b/scripts/travis-common.sh
index ceaab976..4d482df6 100644
--- a/scripts/travis-common.sh
+++ b/scripts/travis-common.sh
@@ -15,7 +15,7 @@
# limitations under the License.
#
-SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
+SCRIPT_DIR="$(cd "$(dirname "$0")"; pwd -P)"
ROOT_DIR="$(dirname "${SCRIPT_DIR}")"
BUILD_TYPES="debug release"
BUILD_TYPES_UPPER="Debug Release"