Set bash in Interactive mode and exit on errors in post-receive hook. #19

Closed
wants to merge 1 commit into from
Commits on Jan 20, 2012
  1. @blt

    Set bash in Interactive mode and exit on errors.

    blt committed Jan 19, 2012
    In interactive mode users' /etc/bash.bashrc (or /etc/bashrc, depending on OS) and ~/.bashrc will be sourced, allowing rbenv and RVM installations to be used without continual re-editing of deploy scripts. 'set -e' merely stops execution on failure of a sub-command. No runtime penalty for either change is incurred.