diff options
author | Kevin Decherf <kevin@kdecherf.com> | 2018-01-03 21:00:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-03 21:00:43 +0100 |
commit | 99e8c2785b9fc0cd9cc8674cb297a13a1035238f (patch) | |
tree | 272f694f21208ecca12d05d28bfd8364c7b887ad /scripts | |
parent | 410216f435bd9594f37e861d0a0fea8205956a67 (diff) | |
parent | f3e71b5dd538a4b0768e42946d3b6be3f1c0426a (diff) | |
download | wallabag-99e8c2785b9fc0cd9cc8674cb297a13a1035238f.tar.gz wallabag-99e8c2785b9fc0cd9cc8674cb297a13a1035238f.tar.zst wallabag-99e8c2785b9fc0cd9cc8674cb297a13a1035238f.zip |
Merge pull request #3546 from Strubbl/fix-2957-abort-update-on-error
add `set -eu` to update.sh
Diffstat (limited to 'scripts')
-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}" |