Squashed 'golang-install/' content from commit 258f94f
git-subtree-dir: golang-install git-subtree-split: 258f94f6120bbf99f4c9133c9ab5826dcd359fbe
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
GOVER=$(go version)
|
||||
|
||||
echo "Testing to make sure that Go $REQVER is installed"
|
||||
|
||||
if grep -q "$REQVER" <<< "$GOVER"; then
|
||||
echo "Version contains: $REQVER"
|
||||
exit 0
|
||||
else
|
||||
echo "Does not contain: $REQVER"
|
||||
exit 1
|
||||
fi
|
||||
Reference in New Issue
Block a user