Fixed regex
This commit is contained in:
parent
f2220626e7
commit
5088e09562
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ declare release_dir="$dir/releases/$timestamp"
|
||||||
# Pull latest revision
|
# Pull latest revision
|
||||||
echo "-> Pulling latest release"
|
echo "-> Pulling latest release"
|
||||||
# Apparently, some systems put "up to date", while others put "up-to-date"
|
# Apparently, some systems put "up to date", while others put "up-to-date"
|
||||||
git pull | grep -q 'Already up-?to-?date.' && echo "No updates, exiting..." && exit 20
|
git pull | grep -q 'Already up[- ]to[- ]date.' && echo "No updates, exiting..." && exit 20
|
||||||
|
|
||||||
echo "-> Checking validity of data.json"
|
echo "-> Checking validity of data.json"
|
||||||
jsonlint src/data.json
|
jsonlint src/data.json
|
||||||
|
|
Loading…
Reference in a new issue