Indent listall

This commit is contained in:
Joshua Bussdieker
2012-02-29 13:25:43 -08:00
parent db46a27870
commit 178e1aaafd
+4 -1
View File
@@ -1,11 +1,14 @@
#!/bin/bash
. $GVM_ROOT/scripts/functions
curl -s https://go.googlecode.com/hg/.hgtags | awk '{ print $2 }'
echo
display_message "gvm gos (available)"
echo
versions=`curl -s https://go.googlecode.com/hg/.hgtags | awk '{ print $2 }' | grep "release" | sort`
if [[ $? -ne 0 ]]; then
display_error "Failed to get version list from Google"
fi
for version in $versions; do
echo " $version"
done
echo