commit | a008d76f995b8066979ff2c08eba926eac0a50a9 | [log] [tgz] |
---|---|---|
author | Josh Triplett <josh@joshtriplett.org> | Sat Dec 06 14:47:20 2014 -0800 |
committer | Kay Sievers <kay@vrfy.org> | Thu Dec 25 22:14:34 2014 +0100 |
tree | 8b9ece5ca89b1e37a2db75bd57ada973a2597bdf | |
parent | b2fd181638a1a164cae14cf94836fccf5b26db89 [diff] |
autogen.sh: set -e separately, rather than putting -e in the shebang line Otherwise, if someone uses "sh autogen.sh", the -e will get ignored.
diff --git a/autogen.sh b/autogen.sh old mode 100755 new mode 100644 index 0d60b0a..16c0eb3 --- a/autogen.sh +++ b/autogen.sh
@@ -1,4 +1,6 @@ -#!/bin/sh -e +#!/bin/sh + +set -e if [ -f .git/hooks/pre-commit.sample -a ! -f .git/hooks/pre-commit ] ; then cp -p .git/hooks/pre-commit.sample .git/hooks/pre-commit && \