summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/common-functions10
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/common-functions b/bin/common-functions
index baf5750..938c18a 100755
--- a/bin/common-functions
+++ b/bin/common-functions
@@ -503,6 +503,16 @@ find_newest_of_git_revisions() {
local repo
revisions="$(cat)"
+ if [ $(
+ echo "${revisions}" | \
+ wc -l
+ ) -eq 1 ]; then
+
+ echo "${revisions}"
+ return
+
+ fi
+
repo="$(
find_repository_with_commit \
"$(