You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
630 B
Plaintext
30 lines
630 B
Plaintext
11 years ago
|
#!/usr/bin/env bash
|
||
|
. "$GVM_ROOT/scripts/functions"
|
||
|
|
||
|
echo
|
||
|
display_message "gvm go package sets ($gvm_go_name)"
|
||
|
echo
|
||
|
|
||
|
if [[ -d $GVM_ROOT/pkgsets/$gvm_go_name ]]; then
|
||
|
pkgset_local=$(find_local_pkgset)
|
||
|
if [[ -d $pkgset_local ]]; then
|
||
|
if [[ "$gvm_pkgset_name" == "__local__" ]]; then
|
||
|
echo "=>L $pkgset_local"
|
||
|
else
|
||
|
echo " L $pkgset_local"
|
||
|
fi
|
||
|
fi
|
||
|
|
||
|
for cur_dir in $GVM_ROOT/pkgsets/$gvm_go_name/*; do
|
||
|
[[ "$cur_dir" == "$GVM_ROOT/pkgsets/$gvm_go_name/*" ]] && exit
|
||
|
pkgset=$(basename "$cur_dir")
|
||
|
if [[ "$gvm_pkgset_name" == "$pkgset" ]]; then
|
||
|
echo "=> $pkgset"
|
||
|
else
|
||
|
echo " $pkgset"
|
||
|
fi
|
||
|
done
|
||
|
fi
|
||
|
echo
|
||
|
|