25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #!/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 $1
- result=$?
- if [[ $result -ne 0 ]]
- then
- date
- echo "uploader exited with $result"
- exit $result
- fi
- done
|