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.

pack-multiple 346 B

9 years ago
9 years ago
9 years ago
9 years ago
1234567891011121314151617
  1. #!/bin/bash
  2. # This loops the pack-one script while the RUN file exists.
  3. # See pack-one for details.
  4. SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
  5. while [[ -f RUN ]]
  6. do
  7. "${SCRIPT_DIR}/pack-one"
  8. result="${?}"
  9. if [[ "${result}" -ne 0 ]]
  10. then
  11. date
  12. echo "packer exited with ${result}"
  13. exit "${result}"
  14. fi
  15. done