summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorEmīls <emils@mullvad.net>2018-07-06 09:23:18 +0100
committerEmīls <emils@mullvad.net>2018-07-06 09:37:41 +0100
commiteb2638046e2032e29bbc5884b31e59f4854f0d9e (patch)
tree91bcd5e9490c5389e51163c2cdb8ca6f420b2136
parent6901311224f274620e723b26e20a418b34843d95 (diff)
downloadmullvadvpn-eb2638046e2032e29bbc5884b31e59f4854f0d9e.tar.xz
mullvadvpn-eb2638046e2032e29bbc5884b31e59f4854f0d9e.zip
Improve path resolving in env.sh
-rw-r--r--env.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/env.sh b/env.sh
index 1889f1ee71..1f1b5b10b2 100644
--- a/env.sh
+++ b/env.sh
@@ -1,6 +1,6 @@
# Sourcing this file should set up the environment to build the app
-SCRIPT_DIR="$( cd "$(dirname "$0")" ; pwd -P )"
+SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
case "$(uname -s)" in
Linux*)