diff options
| author | Emīls Piņķis <emils@mullvad.net> | 2018-07-06 09:45:33 +0100 |
|---|---|---|
| committer | Emīls Piņķis <emils@mullvad.net> | 2018-07-06 09:45:33 +0100 |
| commit | 1f9f024f43cd9ce67631eb4e50cb4e87c817ae55 (patch) | |
| tree | a5d35d995398546b20e84e95954f677a4c6affca | |
| parent | 6901311224f274620e723b26e20a418b34843d95 (diff) | |
| parent | 94860e6ec30d7978e9339b34bcb661e035ae4901 (diff) | |
| download | mullvadvpn-1f9f024f43cd9ce67631eb4e50cb4e87c817ae55.tar.xz mullvadvpn-1f9f024f43cd9ce67631eb4e50cb4e87c817ae55.zip | |
Merge branch 'fix-env-and-build-scripts'
| -rwxr-xr-x | build.sh | 1 | ||||
| -rw-r--r-- | env.sh | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -14,6 +14,7 @@ set -eu SCRIPT_DIR="$( cd "$(dirname "$0")" ; pwd -P )" RUSTC_VERSION=`rustc +stable --version` PRODUCT_VERSION=$(node -p "require('./package.json').version" | sed -Ee 's/\.0//g') +source env.sh if [[ "${1:-""}" != "--dev-build" ]]; then @@ -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*) |
