Skip to content

Commit 887da8d

Browse files
committed
install: Fix the install.sh script to work with spaces
Makes it work on windows
1 parent 0f75b29 commit 887da8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/etc/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ then
325325
if [ -z "${CFG_UNINSTALL}" ]
326326
then
327327
msg "verifying platform can run binaries"
328-
export $CFG_LD_PATH_VAR="${CFG_SRC_DIR}/lib":$CFG_OLD_LD_PATH_VAR
328+
export $CFG_LD_PATH_VAR="${CFG_SRC_DIR}/lib:$CFG_OLD_LD_PATH_VAR"
329329
"${CFG_SRC_DIR}/bin/rustc" --version > /dev/null
330330
if [ $? -ne 0 ]
331331
then
@@ -489,7 +489,7 @@ then
489489
"${CFG_PREFIX}/bin/rustc" --version 2> /dev/null 1> /dev/null
490490
if [ $? -ne 0 ]
491491
then
492-
export $CFG_LD_PATH_VAR="${CFG_PREFIX}/lib":$CFG_OLD_LD_PATH_VAR
492+
export $CFG_LD_PATH_VAR="${CFG_PREFIX}/lib:$CFG_OLD_LD_PATH_VAR"
493493
"${CFG_PREFIX}/bin/rustc" --version > /dev/null
494494
if [ $? -ne 0 ]
495495
then

0 commit comments

Comments
 (0)