Fix message
This commit is contained in:
parent
79a4768ae7
commit
43ef704a32
|
@ -23,6 +23,6 @@ pushd ~/.lon-tool-src &> /dev/null
|
||||||
rev=$(git describe --abbrev=4 --dirty --always --tags)
|
rev=$(git describe --abbrev=4 --dirty --always --tags)
|
||||||
go get git.timoxa0.su/timoxa0/lon-tool/cmd
|
go get git.timoxa0.su/timoxa0/lon-tool/cmd
|
||||||
go build -ldflags "-X git.timoxa0.su/timoxa0/lon-tool/cmd.version=$rev" -o "$HOME/.local/bin/lon-tool" main.go && {
|
go build -ldflags "-X git.timoxa0.su/timoxa0/lon-tool/cmd.version=$rev" -o "$HOME/.local/bin/lon-tool" main.go && {
|
||||||
printf "\e[32mDone!\e[0m Installed at %s\n" "$HOME/go/bin/lon-tool"
|
printf "\e[32mDone!\e[0m Installed at %s\n" "$HOME/.local/bin/lon-tool"
|
||||||
}
|
}
|
||||||
popd &> /dev/null
|
popd &> /dev/null
|
||||||
|
|
Loading…
Reference in a new issue