Keep track of go version

This commit is contained in:
Bob Mottram 2016-09-29 10:25:50 +01:00
parent 48466cebd2
commit 77deafe732
1 changed files with 5 additions and 1 deletions

View File

@ -197,10 +197,14 @@ function upgrade_golang {
return return
fi fi
if ! grep -Fxq "upgrade_golang:$GO_VERSION" $COMPLETION_FILE; then
return
fi
rootdir= rootdir=
mesh_upgrade_golang mesh_upgrade_golang
echo 'upgrade_golang' >> $COMPLETION_FILE echo "upgrade_golang:$GO_VERSION" >> $COMPLETION_FILE
} }
# NOTE: deliberately there is no "exit 0" # NOTE: deliberately there is no "exit 0"