您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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