Fix deployscript

This commit is contained in:
Rien Maertens 2019-02-13 21:29:54 +01:00
parent 536435727a
commit bcf174b7ed
No known key found for this signature in database
GPG key ID: 10C6D8C91DE58E4A

View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
set -eo pipefail set -eo pipefail
if [ git status --porcelain=2 -uno | grep '' ]; then if (git status --porcelain=2 -uno | grep '' ); then
echo "You have unstaged changes." echo "You have unstaged changes."
echo "This shouldn't happen in production." echo "This shouldn't happen in production."
echo "Plsfix. Dank." echo "Plsfix. Dank."