mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
Ignore lint warning SC2164
This commit is contained in:
parent
a41d9078ef
commit
1b9ea4f00f
1 changed files with 1 additions and 0 deletions
|
@ -1348,6 +1348,7 @@ __git_clone_and_checkout() {
|
|||
|
||||
if [ "$__SHALLOW_CLONE" -eq "${BS_FALSE}" ]; then
|
||||
git clone "$_SALT_REPO_URL" "$__SALT_CHECKOUT_REPONAME" || return 1
|
||||
# shellcheck disable=SC2164
|
||||
cd "${_SALT_GIT_CHECKOUT_DIR}"
|
||||
|
||||
if [ "$(echo "$_SALT_REPO_URL" | grep -c -e '\(\(git\|https\)://github\.com/\|git@github\.com:\)saltstack/salt\.git')" -eq 0 ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue