[__git] Smart shellcheck! Fix bug
This commit is contained in:
parent
376fab8a66
commit
e13b44bd5d
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ chown '${owner}:${group}' '$destination'
|
|||
EOF
|
||||
fi
|
||||
# Actually clone the repository
|
||||
su -m "$git_user" -c "git clone --quiet '$recursive' '$shallow' --branch '$branch' '$source' '$destination'"
|
||||
su -m "$git_user" -c "git clone --quiet '$recursive' '$shallow' --branch '$branch_should' '$source' '$destination'"
|
||||
echo create >> "$__messages_out"
|
||||
repo_changed="YES"
|
||||
elif [ "$branch_should" != "$branch_is" ]; then
|
||||
|
|
Loading…
Reference in a new issue