The little things give you away... A collection of various small helper stuff
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #!/bin/bash
- # Wait until an item has no outstanding tasks
- # Usage: ia-wait-item-tasks IDENTIFIER
- if [[ $# -ne 1 ]]
- then
- echo 'Usage: ia-wait-item-tasks IDENTIFIER'
- exit 1
- fi
-
- while ia tasks "$1" | grep -Fvq ' "finished": '
- do
- sleep 60
- done
|