summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/post-review3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/post-review b/scripts/post-review
index ef51323..405bed6 100755
--- a/scripts/post-review
+++ b/scripts/post-review
@@ -739,6 +739,9 @@ class ClearCaseClient(SCMClient):
return md5(fname).hexdigest()
def get_repository_info(self):
+ if not check_install('cleartool help'):
+ return None
+
# We must be running this from inside a view.
# Otherwise it doesn't make sense.
self.viewinfo = execute(["cleartool", "pwv", "-short"])