projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d60ff37
)
fixed issue with version check
author
Chris Koeritz
<fred@gruntose.com>
Sun, 7 Jan 2018 18:13:04 +0000
(13:13 -0500)
committer
Chris Koeritz
<fred@gruntose.com>
Wed, 10 Jan 2018 20:01:12 +0000
(15:01 -0500)
scripts/rev_control/version_control.sh
patch
|
blob
|
history
diff --git
a/scripts/rev_control/version_control.sh
b/scripts/rev_control/version_control.sh
index 5b7ef8cce128d5bc1a5903ac673d4c95a27bd90b..ff2f7bed81ba425fae486e64c03665d60c918976 100644
(file)
--- 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