From 7d3507a171d7e636f51170187eb2ecb5c5a52212 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Sun, 7 Jan 2018 13:13:04 -0500 Subject: [PATCH] fixed issue with version check --- scripts/rev_control/version_control.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/rev_control/version_control.sh b/scripts/rev_control/version_control.sh index 5b7ef8cc..ff2f7bed 100644 --- a/scripts/rev_control/version_control.sh +++ b/scripts/rev_control/version_control.sh @@ -15,7 +15,7 @@ source "$FEISTY_MEOW_SCRIPTS/tty/terminal_titler.sh" # this appears to be an ubuntu issue, where xenial did not provide it even though the # feature appeared in git 2.6 and xenial claims it has git version 2.7.4. eventually, # this version test can go away. -gitvertest="$(git version | sed -e 's/git version [0-9]\.//' | sed -e 's/\.0$//' )" +gitvertest="$(git version | sed -e 's/git version [0-9]\.//' | sed -e 's/\.[0-9][0-9]*$//' )" #hmmm: temp below! echo gitvertest is $gitvertest if (( $gitvertest >= 11 )); then -- 2.34.1