script cleaned up

Signed-off-by: Alexey Guskov <lexag@mail.ru>
Upstream-commit: f228fb09acffde575c704d501739ad547baf4e24
Component: engine
This commit is contained in:
Alexey Guskov
2015-05-27 10:21:09 +03:00
parent d913f69b1f
commit af2789e761
+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