Skip to content

Commit

Permalink
Fix bug if TEST_PACKAGE doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
Serock3 committed Aug 16, 2024
1 parent afc1508 commit 4ef27f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/scripts/test-utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4ef27f8

Please sign in to comment.