This commit is contained in:
Daniel Preussker 2015-08-03 17:19:16 +00:00
parent c83b9a374e
commit 982121bb6e

View File

@ -5,7 +5,7 @@ set -eu
cd "$(dirname "$0")"
up=$(php daily.php -f update >&2; echo $?)
if [ $up -eq 1 ]; then
if [ "$up" -eq 1 ]; then
git pull --quiet
php includes/sql-schema/update.php
fi