diff options
| author | Brian Anderson <banderson@mozilla.com> | 2014-09-29 15:29:57 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2014-09-29 15:29:57 -0700 |
| commit | 887da8d33a81865c2841751f3106fb8607a31b26 (patch) | |
| tree | a454bb6371993305c08170f6f1271799c97a3927 | |
| parent | 0f75b2911c537b291605c3070e246118b5ca843c (diff) | |
| download | rust-887da8d33a81865c2841751f3106fb8607a31b26.tar.gz rust-887da8d33a81865c2841751f3106fb8607a31b26.zip | |
install: Fix the install.sh script to work with spaces
Makes it work on windows
| -rw-r--r-- | src/etc/install.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/etc/install.sh b/src/etc/install.sh index c949743ea75..4f43b1ed130 100644 --- a/src/etc/install.sh +++ b/src/etc/install.sh @@ -325,7 +325,7 @@ then if [ -z "${CFG_UNINSTALL}" ] then msg "verifying platform can run binaries" - export $CFG_LD_PATH_VAR="${CFG_SRC_DIR}/lib":$CFG_OLD_LD_PATH_VAR + export $CFG_LD_PATH_VAR="${CFG_SRC_DIR}/lib:$CFG_OLD_LD_PATH_VAR" "${CFG_SRC_DIR}/bin/rustc" --version > /dev/null if [ $? -ne 0 ] then @@ -489,7 +489,7 @@ then "${CFG_PREFIX}/bin/rustc" --version 2> /dev/null 1> /dev/null if [ $? -ne 0 ] then - export $CFG_LD_PATH_VAR="${CFG_PREFIX}/lib":$CFG_OLD_LD_PATH_VAR + export $CFG_LD_PATH_VAR="${CFG_PREFIX}/lib:$CFG_OLD_LD_PATH_VAR" "${CFG_PREFIX}/bin/rustc" --version > /dev/null if [ $? -ne 0 ] then |
