Merge pull request #3546 from Strubbl/fix-2957-abort-update-on-error

add `set -eu` to update.sh
This commit is contained in:
Kevin Decherf 2018-01-03 21:00:43 +01:00 committed by GitHub
commit 99e8c2785b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,9 @@
# You can execute this file to update wallabag
# eg: `sh update.sh prod`
set -e
set -u
COMPOSER_COMMAND='composer'
DIR="${BASH_SOURCE}"