1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

script cleaned up

Signed-off-by: Alexey Guskov <lexag@mail.ru>
This commit is contained in:
Alexey Guskov 2015-05-27 10:21:09 +03:00
parent 9e00e34092
commit f228fb09ac

View file

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