Make hack/make.sh work on FreeBSD

Signed-off-by: Alexey Guskov <lexag@mail.ru>
This commit is contained in:
Alexey Guskov 2015-05-26 15:54:08 +03:00
parent 628c396555
commit 9e00e34092
1 changed files with 6 additions and 1 deletions

View File

@ -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