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
- # This loops the pack-one script while the RUN file exists.
- # See pack-one for details.
- SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
-
- while [[ -f RUN ]]
- do
- $SCRIPT_DIR/pack-one
- result=$?
- if [[ $result -ne 0 ]]
- then
- date
- echo "packer exited with $result"
- exit $result
- fi
- done
|