From f228fb09acffde575c704d501739ad547baf4e24 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 --- hack/make.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/hack/make.sh b/hack/make.sh index c6cbbc2a3d..60aafbd66c 100755 --- a/hack/make.sh +++ b/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