Skip to content
This repository has been archived by the owner on Jan 14, 2022. It is now read-only.

Commit

Permalink
fix unused VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
nickg committed May 26, 2017
1 parent 7e2a00b commit ff41b00
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
10 changes: 7 additions & 3 deletions samples/godownloader-minify.sh
Expand Up @@ -6,10 +6,13 @@ set -e
usage() {
this=$1
cat <<EOF
$this: download go binaries for tdewolff/minify
Usage: $this [version]
where [version] is 'latest' or a version number from
Usage: $this [-b bindir]
-b set the installation or BINDIR, defaults to ./bin
Version is automatically selected from
https://dl.equinox.io/tdewolff/minify/stable
Generated by godownloader
Expand All @@ -31,7 +34,8 @@ parse_args() {
esac
done
shift $((OPTIND - 1))
VERSION=$1
# VERSION currently unused
#VERSION=$1
}
# wrap all destructive operations into a function
# to prevent curl|bash network truncation and disaster
Expand Down
10 changes: 7 additions & 3 deletions shell_equinoxio.go
Expand Up @@ -30,10 +30,13 @@ set -e
usage() {
this=$1
cat <<EOF
$this: download go binaries for {{ $.Release.GitHub.Owner }}/{{ $.Release.GitHub.Name }}
Usage: $this [version]
where [version] is 'latest' or a version number from
Usage: $this [-b bindir]
-b set the installation or BINDIR, defaults to ./bin
Version is automatically selected from
https://dl.equinox.io/{{ $.Release.GitHub.Owner }}/{{ $.Release.GitHub.Name }}/stable
Generated by godownloader
Expand All @@ -55,7 +58,8 @@ parse_args() {
esac
done
shift $((OPTIND - 1))
VERSION=$1
# VERSION currently unused
#VERSION=$1
}
# wrap all destructive operations into a function
# to prevent curl|bash network truncation and disaster
Expand Down

0 comments on commit ff41b00

Please sign in to comment.