diff --git a/components/engine/hack/make.sh b/components/engine/hack/make.sh index 0ccbdabbe7..60aafbd66c 100755 --- a/components/engine/hack/make.sh +++ b/components/engine/hack/make.sh @@ -290,7 +290,9 @@ main() { if [ "$(go env GOHOSTOS)" != 'windows' ]; then # Windows and symlinks don't get along well - ln -sfT "$VERSION" bundles/latest + + rm -f bundles/latest + ln -s "$VERSION" bundles/latest fi if [ $# -lt 1 ]; then