From af2789e761a1fe05144e42ca9c82049d4d8f7775 Mon Sep 17 00:00:00 2001 From: Alexey Guskov Date: Wed, 27 May 2015 10:21:09 +0300 Subject: [PATCH] script cleaned up Signed-off-by: Alexey Guskov Upstream-commit: f228fb09acffde575c704d501739ad547baf4e24 Component: engine --- components/engine/hack/make.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/components/engine/hack/make.sh b/components/engine/hack/make.sh index c6cbbc2a3d..60aafbd66c 100755 --- a/components/engine/hack/make.sh +++ b/components/engine/hack/make.sh @@ -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