mirror of
https://github.com/CopterExpress/clover.git
synced 2026-05-26 11:43:25 +00:00
Minor fix
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
# $ ./waitfile <file> <command> <args...>
|
||||
# wait until <file> appears and then invoke <command> with <args>
|
||||
|
||||
echo "wait for file $1 to ${@:2}"
|
||||
echo "wait for file $1"
|
||||
while [ ! -e "$1" ]; do sleep 1; done;
|
||||
echo "file $1 appeared, run ${@:2}"
|
||||
echo "file $1 appeared"
|
||||
"${@:2}"
|
||||
|
||||
Reference in New Issue
Block a user