mirror of
https://github.com/openshift/source-to-image.git
synced 2026-02-05 03:45:02 +01:00
change condition modify verify-bash-completion.sh change to pass golint change to pass golint
15 lines
390 B
Bash
Executable File
15 lines
390 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -o errexit
|
|
set -o nounset
|
|
set -o pipefail
|
|
|
|
S2I_ROOT=$(dirname "${BASH_SOURCE}")/..
|
|
|
|
source "${S2I_ROOT}/hack/common.sh"
|
|
|
|
s2i::build::build_binaries "$@"
|
|
|
|
echo "+++ Updating Bash completion in contrib/bash/s2i"
|
|
${S2I_LOCAL_BINPATH}/s2i completion bash> ${S2I_ROOT}/contrib/completions/bash/s2i
|
|
${S2I_LOCAL_BINPATH}/s2i completion zsh> ${S2I_ROOT}/contrib/completions/zsh/s2i |