The little things give you away... A collection of various small helper stuff
25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
12345678910111213 |
- #!/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
|