From e80a30563acbc7eb104e48672710dda805085c84 Mon Sep 17 00:00:00 2001 From: Everton Marques Date: Sun, 9 Apr 2017 20:27:42 -0300 Subject: [PATCH] Version. --- update-golang.sh | 20 +++++++++++++------- update-golang.sh.sha256 | 2 +- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/update-golang.sh b/update-golang.sh index e575cf3..1180fef 100755 --- a/update-golang.sh +++ b/update-golang.sh @@ -1,4 +1,17 @@ #!/bin/bash +# +# update-golang is a script to easily fetch and install new Golang releases +# +# Home: https://github.com/udhos/update-golang + +version=0.0 + +me=`basename $0` +msg() { + echo >&2 $me: $* +} + +msg version $version # defaults source=https://storage.googleapis.com/golang @@ -37,14 +50,7 @@ url=$source/$filename goroot=$destination/go filepath=$destination/$filename -me=`basename $0` - -msg() { - echo >&2 $me: $* -} - save_dir=$PWD - cleanup() { [ -n "$save_dir" ] && cd $save_dir } diff --git a/update-golang.sh.sha256 b/update-golang.sh.sha256 index ec84ab7..6735ec7 100644 --- a/update-golang.sh.sha256 +++ b/update-golang.sh.sha256 @@ -1 +1 @@ -79dd0875d9582e141e2986697e18816497ab3f0c3cb15e01aac9a164455c3009 update-golang.sh +99f9f0fa041a5993e83279b802459e88fc51a17fead1647bb399eec7979e4b3c update-golang.sh