script cleaned up

Signed-off-by: Alexey Guskov <lexag@mail.ru>
This commit is contained in:
Alexey Guskov
2015-05-27 10:21:09 +03:00
parent 9e00e34092
commit f228fb09ac
+2 -5
View File
@@ -291,11 +291,8 @@ main() {
if [ "$(go env GOHOSTOS)" != 'windows' ]; then
# Windows and symlinks don't get along well
if [ "$(go env GOHOSTOS)" != 'freebsd' ]; then
ln -sfT "$VERSION" bundles/latest
else
ln -sfh "$VERSION" bundles/latest
fi
rm -f bundles/latest
ln -s "$VERSION" bundles/latest
fi
if [ $# -lt 1 ]; then