選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

18 行
328 B

  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