Quote remaining variables
This commit is contained in:
parent
f1d2738491
commit
c48a3a9348
1 changed files with 5 additions and 5 deletions
|
@ -25,7 +25,7 @@ while [ -f "$watchStarting" ]; do sleep 0.5; done;
|
|||
};
|
||||
|
||||
displayPID="$!";
|
||||
wget ${KEIL_URL} --progress=bar:force:noscroll -O "$installer";
|
||||
wget "${KEIL_URL}" --progress=bar:force:noscroll -O "$installer";
|
||||
|
||||
# Preparations for Debug Logs
|
||||
if [ "$DEBUG" -eq 1 ]
|
||||
|
@ -163,10 +163,10 @@ function install_keil() {
|
|||
|
||||
if [ "$DEBUG" -eq 1 ] && [ -f "$logFile" ]
|
||||
then
|
||||
if [ $exitCode -eq 0 ]
|
||||
if [ "$exitCode" -eq 0 ]
|
||||
then
|
||||
mv "$logFile" "./$logDir/success-try$try.log";
|
||||
elif [ $exitCode -eq 42 ]
|
||||
elif [ "$exitCode" -eq 42 ]
|
||||
then
|
||||
mv "$logFile" "./$logDir/timeout-handled-try$try.log";
|
||||
else
|
||||
|
@ -175,9 +175,9 @@ function install_keil() {
|
|||
fi;
|
||||
|
||||
{
|
||||
if [ $exitCode -ne 0 ]
|
||||
if [ "$exitCode" -ne 0 ]
|
||||
then
|
||||
if [ $exitCode -eq 42 ]
|
||||
if [ "$exitCode" -eq 42 ]
|
||||
then
|
||||
echo "The Installation Got Stuck";
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue