script cleaned up
Signed-off-by: Alexey Guskov <lexag@mail.ru> Upstream-commit: f228fb09acffde575c704d501739ad547baf4e24 Component: engine
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user