Browse Source

Address warnings reported by shellcheck for changes made in 7011944

Closes gh-4524
pull/4511/merge
Andy Wilkinson 10 years ago
parent
commit
0f032eeb8a
  1. 7
      spring-boot-tools/spring-boot-loader-tools/src/main/resources/org/springframework/boot/loader/tools/launch.script

7
spring-boot-tools/spring-boot-loader-tools/src/main/resources/org/springframework/boot/loader/tools/launch.script

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

Loading…
Cancel
Save