Ви не можете вибрати більше 25 тем
Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
|
- #!/bin/bash
- # This loops the upload-one script while the RUN file exists.
- # See upload-one for details.
- SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
-
- while [[ -f RUN ]]
- do
- "${SCRIPT_DIR}/upload-one"
- result="${?}"
- if [[ "${result}" -ne 0 ]]
- then
- date
- echo "uploader exited with ${result}"
- exit "${result}"
- fi
- done
|