зеркало из https://github.com/microsoft/docker.git
Merge pull request #12049 from tianon/bundles-latest
Add "bundles/latest" symlink
This commit is contained in:
Коммит
85f1410a5a
|
@ -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[@]})
|
||||
|
|
Загрузка…
Ссылка в новой задаче