From 9e00e34092ca1f2f2e7919430f5756f94e484cdb Mon Sep 17 00:00:00 2001 From: Alexey Guskov Date: Tue, 26 May 2015 15:54:08 +0300 Subject: [PATCH] Make hack/make.sh work on FreeBSD Signed-off-by: Alexey Guskov --- hack/make.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/hack/make.sh b/hack/make.sh index 0ccbdabbe7..c6cbbc2a3d 100755 --- a/hack/make.sh +++ b/hack/make.sh @@ -290,7 +290,12 @@ main() { if [ "$(go env GOHOSTOS)" != 'windows' ]; then # Windows and symlinks don't get along well - ln -sfT "$VERSION" bundles/latest + + if [ "$(go env GOHOSTOS)" != 'freebsd' ]; then + ln -sfT "$VERSION" bundles/latest + else + ln -sfh "$VERSION" bundles/latest + fi fi if [ $# -lt 1 ]; then