Signed-off-by: Alexey Guskov <lexag@mail.ru>
| ... | ... |
@@ -290,7 +290,12 @@ main() {
|
| 290 | 290 |
|
| 291 | 291 |
if [ "$(go env GOHOSTOS)" != 'windows' ]; then |
| 292 | 292 |
# Windows and symlinks don't get along well |
| 293 |
- ln -sfT "$VERSION" bundles/latest |
|
| 293 |
+ |
|
| 294 |
+ if [ "$(go env GOHOSTOS)" != 'freebsd' ]; then |
|
| 295 |
+ ln -sfT "$VERSION" bundles/latest |
|
| 296 |
+ else |
|
| 297 |
+ ln -sfh "$VERSION" bundles/latest |
|
| 298 |
+ fi |
|
| 294 | 299 |
fi |
| 295 | 300 |
|
| 296 | 301 |
if [ $# -lt 1 ]; then |