mirror of
https://github.com/docker/cli.git
synced 2026-01-15 07:40:57 +03:00
Merge pull request #12049 from tianon/bundles-latest
Add "bundles/latest" symlink Upstream-commit: 85f1410a5a46988df0ff0c88d418a4ec0de37064 Component: engine
This commit is contained in:
@@ -263,6 +263,12 @@ main() {
|
||||
rm -fr bundles/$VERSION && mkdir bundles/$VERSION || exit 1
|
||||
echo
|
||||
fi
|
||||
|
||||
if [ "$(go env GOHOSTOS)" != 'windows' ]; then
|
||||
# Windows and symlinks don't get along well
|
||||
ln -sfT $VERSION bundles/latest
|
||||
fi
|
||||
|
||||
SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
if [ $# -lt 1 ]; then
|
||||
bundles=(${DEFAULT_BUNDLES[@]})
|
||||
|
||||
Reference in New Issue
Block a user