diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2017-12-04 11:15:38 +0100 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2017-12-04 11:15:38 +0100 |
| commit | 26d9f85b9c779ca18f935df9006ca6fad037aeb7 (patch) | |
| tree | 421e8a350ec907bb7dbb0c4ddf31b06a9e21d238 /format.sh | |
| parent | 08530bb297f5f1faff0ca5f6b68d33af03b217ea (diff) | |
| parent | 98ad6988a8ad239af6ce6639269801d125156088 (diff) | |
| download | mullvadvpn-26d9f85b9c779ca18f935df9006ca6fad037aeb7.tar.xz mullvadvpn-26d9f85b9c779ca18f935df9006ca6fad037aeb7.zip | |
Merge branch 'set-dns-on-macos'
Diffstat (limited to 'format.sh')
| -rwxr-xr-x | format.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -5,7 +5,7 @@ set -u -VERSION="0.2.15" +VERSION="0.2.16" CMD="rustfmt" INSTALL_CMD="cargo install --vers $VERSION --force rustfmt-nightly" @@ -14,6 +14,7 @@ function correct_rustfmt() { echo "$CMD is not installed" >&2 return 1 fi + export DYLD_LIBRARY_PATH=$(rustc --print sysroot)/lib local installed_version=$($CMD --version | cut -d'-' -f1) if [[ "$installed_version" != "$VERSION" ]]; then echo "Wrong version of $CMD installed. Expected $VERSION, got $installed_version" >&2 |
