Fixed GIT check in build script.
This commit is contained in:
parent
297899e23c
commit
7989b4845d
2
build.sh
2
build.sh
@ -134,7 +134,7 @@ function build_tagandpush
|
|||||||
|
|
||||||
# Git check.
|
# Git check.
|
||||||
gitCheck=`which git 2>&1`
|
gitCheck=`which git 2>&1`
|
||||||
if [[ "$gitCheck" =~ ^.*\ 1.8 ]]; then
|
if [[ "$gitCheck" =~ ^/.* ]]; then
|
||||||
echo "GIT requirement................ OK"
|
echo "GIT requirement................ OK"
|
||||||
let "okCount+=1"
|
let "okCount+=1"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user