From: Sven Fischer Date: Wed, 3 Jan 2018 04:33:43 +0000 (+0100) Subject: add `set -eu` to update.sh X-Git-Tag: 2.3.2~3^2 X-Git-Url: https://git.immae.eu/?p=github%2Fwallabag%2Fwallabag.git;a=commitdiff_plain;h=f3e71b5dd538a4b0768e42946d3b6be3f1c0426a add `set -eu` to update.sh fixes #2957 --- 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 @@ # You can execute this file to update wallabag # eg: `sh update.sh prod` +set -e +set -u + COMPOSER_COMMAND='composer' DIR="${BASH_SOURCE}"