You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2019/03/06 17:26:09 UTC
[hbase] branch branch-2.0 updated: HBASE-21999 [DEBUG] Exit if git
returns empty revision! ADDENDUM
This is an automated email from the ASF dual-hosted git repository.
stack pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new e3fd234 HBASE-21999 [DEBUG] Exit if git returns empty revision! ADDENDUM
e3fd234 is described below
commit e3fd2346fc450bca6ab94112d98f05579a41cdf2
Author: stack <st...@apache.org>
AuthorDate: Wed Mar 6 09:25:35 2019 -0800
HBASE-21999 [DEBUG] Exit if git returns empty revision! ADDENDUM
---
hbase-common/src/saveVersion.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hbase-common/src/saveVersion.sh b/hbase-common/src/saveVersion.sh
index 0136fec..e2889ff 100644
--- a/hbase-common/src/saveVersion.sh
+++ b/hbase-common/src/saveVersion.sh
@@ -45,7 +45,7 @@ else
revision="Unknown"
url="file://$cwd"
fi
-if [ -z $revision ]
+if [ -z $revision ]; then
echo "$revision is empty!"
exit 1
fi