mirror of
https://github.com/wahyd4/gvm.git
synced 2026-08-09 04:46:19 +10:00
Ignore warning about link not existing on the first run
This commit is contained in:
+2
-2
@@ -2,8 +2,8 @@
|
||||
|
||||
if [[ $1 == "use" ]]; then
|
||||
if [[ -n $2 ]]; then
|
||||
rm ~/.gvm/gos/default
|
||||
ln -sf ~/.gvm/gos/go-$2 ~/.gvm/gos/default
|
||||
rm -f ~/.gvm/gos/default
|
||||
ln -s ~/.gvm/gos/go-$2 ~/.gvm/gos/default
|
||||
echo "Now using version $2"
|
||||
exit 0
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user