summaryrefslogtreecommitdiffhomepage
path: root/test/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'test/scripts')
-rwxr-xr-xtest/scripts/test-utils.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/scripts/test-utils.sh b/test/scripts/test-utils.sh
index 75ad548701..3486483600 100755
--- a/test/scripts/test-utils.sh
+++ b/test/scripts/test-utils.sh
@@ -50,7 +50,7 @@ function get_package_dir {
local package_dir
if [[ -n "${PACKAGE_DIR+x}" ]]; then
# Resolve the package dir to an absolute path since cargo must be invoked from the test directory
- package_dir=$(cd "$PACKAGE_DIR" > /dev/null && pwd)
+ package_dir=$(realpath "$PACKAGE_DIR")
elif [[ ("$(uname -s)" == "Darwin") ]]; then
package_dir="$HOME/Library/Caches/mullvad-test/packages"
elif [[ ("$(uname -s)" == "Linux") ]]; then