diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-05-06 19:58:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-06 19:58:30 +0200 |
commit | b12d15637cf36ddf8d15216b72ebb3b774765162 (patch) | |
tree | 363e38aa68686facde05254c722a9ce77c215b12 /hack/tree_status.sh | |
parent | ff260f07e2be55c7fbda24b8727686fc55c650a6 (diff) | |
parent | 5e6796c397715af198b6b1800763b86c1899497f (diff) | |
download | podman-b12d15637cf36ddf8d15216b72ebb3b774765162.tar.gz podman-b12d15637cf36ddf8d15216b72ebb3b774765162.tar.bz2 podman-b12d15637cf36ddf8d15216b72ebb3b774765162.zip |
Merge pull request #3048 from cevich/varlink_api_check
Cirrus: Add check for make varlink_api_generate
Diffstat (limited to 'hack/tree_status.sh')
-rwxr-xr-x | hack/tree_status.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hack/tree_status.sh b/hack/tree_status.sh index 78fb4c6a3..ac874a347 100755 --- a/hack/tree_status.sh +++ b/hack/tree_status.sh @@ -1,12 +1,14 @@ #!/bin/bash set -e +SUGGESTION="${SUGGESTION:-sync the vendor.conf and commit all changes.}" + STATUS=$(git status --porcelain) if [[ -z $STATUS ]] then echo "tree is clean" else - echo "tree is dirty, please commit all changes and sync the vendor.conf" + echo "tree is dirty, please $SUGGESTION" echo "" echo "$STATUS" exit 1 |