summaryrefslogtreecommitdiff
path: root/hack/tree_status.sh
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2019-05-01 10:37:50 -0400
committerChris Evich <cevich@redhat.com>2019-05-03 15:04:48 -0400
commitb648ca08102ae9b1c140a96b5bfc02fcc303d585 (patch)
treecd5805be3d1a6e491ec651ea2dff8df25dd22a47 /hack/tree_status.sh
parent2658e870d21dc03096740f17fa869463136d3fae (diff)
downloadpodman-b648ca08102ae9b1c140a96b5bfc02fcc303d585.tar.gz
podman-b648ca08102ae9b1c140a96b5bfc02fcc303d585.tar.bz2
podman-b648ca08102ae9b1c140a96b5bfc02fcc303d585.zip
Cirrus: Add check for make varlink_api_generate
Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'hack/tree_status.sh')
-rwxr-xr-xhack/tree_status.sh4
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