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