mitchellh/packer — pull request #458 by mwhooker (2013-09-24 08:48:57+00:00)
Title: use interactive shell to run build script.

the trap in build.sh kills the process group which the makefile is a part of. To prevent that, we can run the script in an interactive session which will have a new pgid.

`bash(1)`
> When bash is interactive, in the absence of any traps, it ignores SIGTERM (so that kill 0 does not kill an interactive shell), and SIGINT is caught and handled (so that the wait builtin is interruptible). In all cases, bash ignores SIGQUIT. If job control is in effect, bash ignores SIGTTIN, SIGTTOU, and SIGTSTP.