X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Frev_control%2Fversion_control.sh;h=ff2f7bed81ba425fae486e64c03665d60c918976;hb=672db58770c28c97419b2abfd6a8e07512d19085;hp=5b7ef8cce128d5bc1a5903ac673d4c95a27bd90b;hpb=2eab636d6e37cd612c1a77bb50d4e30458724f6a;p=feisty_meow.git 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