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:
parent
9e00e34092
commit
f228fb09ac
1 changed files with 2 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue