diff options
author | Sven Fischer <git-dev@linux4tw.de> | 2018-01-03 05:33:43 +0100 |
---|---|---|
committer | Sven Fischer <git-dev@linux4tw.de> | 2018-01-03 05:34:29 +0100 |
commit | f3e71b5dd538a4b0768e42946d3b6be3f1c0426a (patch) | |
tree | 47d4c0989907aa8a2636e56a9cc0f9d19ec01d64 /scripts/update.sh | |
parent | 2679eb9d844379b65cd126975ef2d3625d39081f (diff) | |
download | wallabag-f3e71b5dd538a4b0768e42946d3b6be3f1c0426a.tar.gz wallabag-f3e71b5dd538a4b0768e42946d3b6be3f1c0426a.tar.zst wallabag-f3e71b5dd538a4b0768e42946d3b6be3f1c0426a.zip |
add `set -eu` to update.sh
fixes #2957
Diffstat (limited to 'scripts/update.sh')
-rw-r--r-- | scripts/update.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/update.sh b/scripts/update.sh index e6ed58b7..d0598135 100644 --- a/scripts/update.sh +++ b/scripts/update.sh | |||
@@ -2,6 +2,9 @@ | |||
2 | # You can execute this file to update wallabag | 2 | # You can execute this file to update wallabag |
3 | # eg: `sh update.sh prod` | 3 | # eg: `sh update.sh prod` |
4 | 4 | ||
5 | set -e | ||
6 | set -u | ||
7 | |||
5 | COMPOSER_COMMAND='composer' | 8 | COMPOSER_COMMAND='composer' |
6 | 9 | ||
7 | DIR="${BASH_SOURCE}" | 10 | DIR="${BASH_SOURCE}" |