Skip to content

Commit

Permalink
Merge pull request #111 from 5long/fail-fast
Browse files Browse the repository at this point in the history
Use `set -e` to fail fast
  • Loading branch information
d4be4st committed Jul 5, 2015
2 parents e75aad0 + 579772f commit de4e3fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions data/deploy.sh.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
%>
#!/usr/bin/env bash

# Bail out ASAP
set -e

# Go to the deploy path
cd "<%= deploy_to %>" || (
echo "! ERROR: not set up."
Expand Down

0 comments on commit de4e3fa

Please sign in to comment.