summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2018-07-17 15:46:01 +0200
committerLinus Färnstrand <linus@mullvad.net>2018-07-17 15:46:01 +0200
commitc7e03bb87fd22f04d0c2d78359e6c0e8c6a9a7a7 (patch)
treee819d1508214f3c034417162cd78e0b40f4dc5f8
parent0101b12999c34b70b79d0da0045306fb0e017877 (diff)
parent870d2b6f8270442d7af74d87c872645e69093656 (diff)
downloadmullvadvpn-c7e03bb87fd22f04d0c2d78359e6c0e8c6a9a7a7.tar.xz
mullvadvpn-c7e03bb87fd22f04d0c2d78359e6c0e8c6a9a7a7.zip
Merge branch 'fix-macos-sed-compatibility'
-rwxr-xr-xbuild.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/build.sh b/build.sh
index 6183117920..75c83327ea 100755
--- a/build.sh
+++ b/build.sh
@@ -18,7 +18,7 @@ source env.sh
if [[ "${1:-""}" != "--dev-build" ]]; then
- REQUIRED_RUSTC_VERSION="rustc 1.26.2 (594fb253c 2018-06-01)"
+ REQUIRED_RUSTC_VERSION="rustc 1.27.1 (5f2b325f6 2018-07-07)"
if [[ $RUSTC_VERSION != $REQUIRED_RUSTC_VERSION ]]; then
echo "You are running the wrong Rust compiler version."
@@ -87,8 +87,7 @@ sed -i.bak \
mullvad-cli/Cargo.toml \
mullvad-problem-report/Cargo.toml
-SEMVER_ARRAY=($(echo $SEMVER_VERSION | sed -r 's/[.-]+/ /g'))
-
+SEMVER_ARRAY=($(echo $SEMVER_VERSION | sed -Ee 's/[.-]+/ /g'))
SEMVER_MAJOR=${SEMVER_ARRAY[0]}
SEMVER_MINOR=${SEMVER_ARRAY[1]}
SEMVER_PATCH=${SEMVER_ARRAY[2]}