summaryrefslogtreecommitdiff
path: root/test/upgrade_project
diff options
context:
space:
mode:
authorDave Smith <dizzyd@dizzyd.com>2013-06-12 07:46:30 -0700
committerDave Smith <dizzyd@dizzyd.com>2013-06-12 07:46:30 -0700
commitef0fd4089fd2efd4ba8941de73ce6932e47e3a7e (patch)
treecb8e18d609dfaba21595e9f8ece251f2f2b28325 /test/upgrade_project
parent6cd982c8975f22859719b8eede9d92e4363b19fd (diff)
parent505458eecb78f90e6c266cbaec9244e88d8c3f1e (diff)
Merge pull request #96 from olgeni/pwd-symlink-fix
Use "pwd -P" to get the current physical path.
Diffstat (limited to 'test/upgrade_project')
-rwxr-xr-xtest/upgrade_project/rel/files/dummy2
-rwxr-xr-xtest/upgrade_project/rel/files/erl2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/upgrade_project/rel/files/dummy b/test/upgrade_project/rel/files/dummy
index cfbfd4f..83f29ba 100755
--- a/test/upgrade_project/rel/files/dummy
+++ b/test/upgrade_project/rel/files/dummy
@@ -2,7 +2,7 @@
# -*- tab-width:4;indent-tabs-mode:nil -*-
# ex: ts=4 sw=4 et
-RUNNER_SCRIPT_DIR=$(cd ${0%/*} && pwd)
+RUNNER_SCRIPT_DIR=$(cd ${0%/*} && pwd -P)
RUNNER_BASE_DIR=${RUNNER_SCRIPT_DIR%/*}
RUNNER_ETC_DIR=$RUNNER_BASE_DIR/etc
diff --git a/test/upgrade_project/rel/files/erl b/test/upgrade_project/rel/files/erl
index 6f65e3f..4c1a4f7 100755
--- a/test/upgrade_project/rel/files/erl
+++ b/test/upgrade_project/rel/files/erl
@@ -10,7 +10,7 @@
## file available in $ROOTDIR/release/VSN.
# Determine the abspath of where this script is executing from.
-ERTS_BIN_DIR=$(cd ${0%/*} && pwd)
+ERTS_BIN_DIR=$(cd ${0%/*} && pwd -P)
# Now determine the root directory -- this script runs from erts-VSN/bin,
# so we simply need to strip off two dirs from the end of the ERTS_BIN_DIR