Address warnings reported by shellcheck for changes made in 7011944

Closes gh-4524
This commit is contained in:
Andy Wilkinson
2015-12-01 12:44:10 +00:00
parent 70119449ce
commit 0f032eeb8a

View File

@@ -81,12 +81,11 @@ isRunning() {
}
await_file() {
end=`date +%s`
end=$(date +%s)
let "end+=10"
while [ ! -f $1 ]
while [[ ! -f "$1" ]]
do
now=`date +%s`
echo $now
now=$(date +%s)
if [[ $now -ge $end ]]; then
break
fi