mirror of
https://github.com/wahyd4/gvm.git
synced 2026-08-09 04:46:19 +10:00
18 lines
302 B
Bash
Executable File
18 lines
302 B
Bash
Executable File
#!/bin/bash
|
|
if [[ $gvm_go_name == "" ]]; then
|
|
echo "ERROR: No Go version selected"
|
|
exit 1
|
|
fi
|
|
|
|
if [[ -n $1 ]]; then
|
|
mkdir -p $GVM_ROOT/pkgsets/$gvm_go_name/$1
|
|
if [[ $? -ne 0 ]]; then
|
|
echo "ERROR: Could not create folder"
|
|
exit 1
|
|
fi
|
|
else
|
|
echo "ERROR: Please specifiy the name"
|
|
exit 1
|
|
fi
|
|
|