about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorJakob Hellermann <jakob.hellermann@protonmail.com>2020-11-05 10:17:42 +0100
committerJakob Hellermann <jakob.hellermann@protonmail.com>2020-11-05 10:17:42 +0100
commit33a904425c563909996752c6c84b244328381709 (patch)
treead3b6256c2c78c87420a2f018b963833d4d83400 /scripts
parent0f10f2a960ac53d880758adb54275947277987a9 (diff)
downloadrust-33a904425c563909996752c6c84b244328381709.tar.gz
rust-33a904425c563909996752c6c84b244328381709.zip
make requested PR changes
Diffstat (limited to 'scripts')
-rw-r--r--[-rwxr-xr-x]scripts/config.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/config.sh b/scripts/config.sh
index 8bb777ccfba..e0c722f7f1b 100755..100644
--- a/scripts/config.sh
+++ b/scripts/config.sh
@@ -1,5 +1,3 @@
-#!/bin/bash
-
 set -e
 
 unamestr=$(uname)
@@ -53,8 +51,7 @@ if [[ $(uname) == 'Darwin' ]]; then
    export RUSTFLAGS="$RUSTFLAGS -Clink-arg=-undefined -Clink-arg=dynamic_lookup"
 fi
 
-LD_LIBRARY_PATH="$dir:$(rustc --print sysroot)/lib:$dir/target/out:$dir/sysroot/lib/rustlib/$TARGET_TRIPLE/lib"
-export LD_LIBRARY_PATH
+export LD_LIBRARY_PATH="$dir:$(rustc --print sysroot)/lib:$dir/target/out:$dir/sysroot/lib/rustlib/$TARGET_TRIPLE/lib"
 export DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH
 
 export CG_CLIF_DISPLAY_CG_TIME=1