Skip to content

Commit 766a7c2

Browse files
committed
install: Fix string formatting in an error
1 parent 2205c48 commit 766a7c2

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/etc/install.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -379,9 +379,11 @@ then
379379
"${CFG_PREFIX}/bin/rustc" --version > /dev/null
380380
if [ $? -ne 0 ]
381381
then
382-
err "can't execute installed rustc binary. installation may be broken. " \
383-
"if this is expected then rerun install.sh with \`--disable-verify\` " \
384-
"or \`make install\` with \`--disable-verify-install\`"
382+
ERR="can't execute installed rustc binary. "
383+
ERR="${ERR}installation may be broken. "
384+
ERR="${ERR}if this is expected then rerun install.sh with \`--disable-verify\` "
385+
ERR="${ERR}or \`make install\` with \`--disable-verify-install\`"
386+
err "${ERR}"
385387
fi
386388
fi
387389

0 commit comments

Comments
 (0)