mirror of
https://github.com/sdkman/sdkman-cli.git
synced 2026-01-31 17:53:09 -05:00
Update selfupdate.sh to handle candidate folder creation.
This commit is contained in:
@@ -5,6 +5,11 @@ echo "Updating gvm scripts..."
|
||||
TMP_ZIP="/tmp/res.zip"
|
||||
BIN_FOLDER="$HOME/.gvm/bin"
|
||||
|
||||
mkdir -p "$HOME/.gvm/groovy"
|
||||
mkdir -p "$HOME/.gvm/grails"
|
||||
mkdir -p "$HOME/.gvm/griffon"
|
||||
mkdir -p "$HOME/.gvm/vert.x"
|
||||
|
||||
mkdir -p "$BIN_FOLDER"
|
||||
curl -s "$GVM_SERVICE/res?platform=$PLATFORM" > "$TMP_ZIP"
|
||||
unzip -qo "$TMP_ZIP" -d "$BIN_FOLDER"
|
||||
|
||||
Reference in New Issue
Block a user