Du kan inte välja fler än 25 ämnen
Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
|
- #!/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
|