summaryrefslogtreecommitdiffhomepage
path: root/env.sh
diff options
context:
space:
mode:
authorEmīls Piņķis <emils@mullvad.net>2018-07-06 09:45:33 +0100
committerEmīls Piņķis <emils@mullvad.net>2018-07-06 09:45:33 +0100
commit1f9f024f43cd9ce67631eb4e50cb4e87c817ae55 (patch)
treea5d35d995398546b20e84e95954f677a4c6affca /env.sh
parent6901311224f274620e723b26e20a418b34843d95 (diff)
parent94860e6ec30d7978e9339b34bcb661e035ae4901 (diff)
downloadmullvadvpn-1f9f024f43cd9ce67631eb4e50cb4e87c817ae55.tar.xz
mullvadvpn-1f9f024f43cd9ce67631eb4e50cb4e87c817ae55.zip
Merge branch 'fix-env-and-build-scripts'
Diffstat (limited to '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*)