summaryrefslogtreecommitdiffhomepage
path: root/build.sh
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2022-01-11 10:04:38 +0100
committerOskar Nyberg <oskar@mullvad.net>2022-01-11 17:31:05 +0100
commitd10daa2d213aa510a5e87bbd3ee47794149e00b9 (patch)
treeece0a123471527a2d71c1faacc74775684f29629 /build.sh
parent027c43afd62c07bb71b712a8dd23c4bfda0a1a07 (diff)
downloadmullvadvpn-d10daa2d213aa510a5e87bbd3ee47794149e00b9.tar.xz
mullvadvpn-d10daa2d213aa510a5e87bbd3ee47794149e00b9.zip
Always move binaries to target directory on macOS
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 7aee2eb91c..68f0960f80 100755
--- a/build.sh
+++ b/build.sh
@@ -336,7 +336,13 @@ if [[ -n ${TARGETS:-""} ]]; then
done
else
source env.sh ""
- build
+ if [[ "$(uname -s)" == "Darwin" ]]; then
+ # Provide target for non-universal macOS builds to use the same output location as for
+ # universal builds
+ build "$ENV_TARGET"
+ else
+ build
+ fi
fi
################################################################################