##// END OF EJS Templates
wait-on-file: properly wait on any files and symlink...
marmoute -
r50093:a68b3752 default
parent child Browse files
Show More
@@ -29,7 +29,7 b' if [ -n "$create" ]; then'
29 touch "$create"
29 touch "$create"
30 create=""
30 create=""
31 fi
31 fi
32 while [ "$timer" -gt 0 ] && [ ! -f "$wait_on" ]; do
32 while [ "$timer" -gt 0 ] && !([ -e "$wait_on" ] || [ -L "$wait_on" ]) ; do
33 timer=$(( $timer - 1))
33 timer=$(( $timer - 1))
34 sleep 0.02
34 sleep 0.02
35 done
35 done
General Comments 0
You need to be logged in to leave comments. Login now