forked from wallabag/wallabag
Merge pull request #3546 from Strubbl/fix-2957-abort-update-on-error
add `set -eu` to update.sh
This commit is contained in:
@ -2,6 +2,9 @@
|
|||||||
# You can execute this file to update wallabag
|
# You can execute this file to update wallabag
|
||||||
# eg: `sh update.sh prod`
|
# eg: `sh update.sh prod`
|
||||||
|
|
||||||
|
set -e
|
||||||
|
set -u
|
||||||
|
|
||||||
COMPOSER_COMMAND='composer'
|
COMPOSER_COMMAND='composer'
|
||||||
|
|
||||||
DIR="${BASH_SOURCE}"
|
DIR="${BASH_SOURCE}"
|
||||||
|
|||||||
Reference in New Issue
Block a user