The little things give you away... A collection of various small helper stuff
您最多选择25个主题
主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
|
- #!/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
|