mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Add shell completions to tgz
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
28ef366cea
commit
1c6f5b5fff
1 changed files with 6 additions and 0 deletions
|
@ -57,6 +57,12 @@ for d in "$CROSS/"*/*; do
|
|||
# copy over all the extra binaries
|
||||
copy_binaries $TAR_PATH
|
||||
|
||||
# add completions
|
||||
for s in bash fish powershell zsh; do
|
||||
mkdir -p $TAR_PATH/completion/$s
|
||||
cp -L contrib/completion/$s/*docker* $TAR_PATH/completion/$s/
|
||||
done
|
||||
|
||||
if [ "$IS_TAR" == "true" ]; then
|
||||
echo "Creating tgz from $BUILD_PATH and naming it $TGZ"
|
||||
tar --numeric-owner --owner 0 -C "$BUILD_PATH" -czf "$TGZ" $TAR_BASE_DIRECTORY
|
||||
|
|
Loading…
Add table
Reference in a new issue