From: Chris Koeritz Date: Sun, 7 Jan 2018 18:13:04 +0000 (-0500) Subject: fixed issue with version check X-Git-Tag: 2.140.107^2~2^2~1 X-Git-Url: https://feistymeow.org/gitweb/?p=feisty_meow.git;a=commitdiff_plain;h=672db58770c28c97419b2abfd6a8e07512d19085 fixed issue with version check --- 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