1
0
mirror of https://github.com/containous/traefik.git synced 2024-10-27 18:55:25 +03:00

Merge pull request #1214 from timoreimann/avoid-validate-glide-output-suppression

Evaluate glide-hash result without reading $?.
This commit is contained in:
Timo Reimann 2017-03-02 23:00:01 +01:00 committed by GitHub
commit a3beec6b9c

View File

@ -2,8 +2,7 @@
source "$(dirname "$BASH_SOURCE")/.validate"
grep `glide-hash` glide.lock
if [ $? -eq 0 ]; then
if grep -q "$(glide-hash)" glide.lock; then
echo 'Congratulations! glide.lock is unchanged.'
else
{