mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-18 10:50:16 +00:00
fix lint SC2236
This commit is contained in:
parent
75cebe13a5
commit
f9ef8c3881
1 changed files with 2 additions and 2 deletions
|
@ -993,7 +993,7 @@ updateRepo(){
|
|||
$SUDO git clone -q --depth 1 --no-single-branch "${2}" "${1}" > /dev/null & spinner $!
|
||||
cd "${1}" || exit 1
|
||||
echo " done!"
|
||||
if [ ! -z "${pivpnGitBranch}" ]; then
|
||||
if [ -n "${pivpnGitBranch}" ]; then
|
||||
echo "::: Checkout branch '${pivpnGitBranch}' from ${2} in ${1}..."
|
||||
${SUDOE} git checkout -q ${pivpnGitBranch}
|
||||
echo "::: Custom branch checkout done!"
|
||||
|
@ -1021,7 +1021,7 @@ makeRepo(){
|
|||
$SUDO git clone -q --depth 1 --no-single-branch "${2}" "${1}" > /dev/null & spinner $!
|
||||
cd "${1}" || exit 1
|
||||
echo " done!"
|
||||
if [ ! -z "${pivpnGitBranch}" ]; then
|
||||
if [ -n "${pivpnGitBranch}" ]; then
|
||||
echo "::: Checkout branch '${pivpnGitBranch}' from ${2} in ${1}..."
|
||||
${SUDOE} git checkout -q ${pivpnGitBranch}
|
||||
echo "::: Custom branch checkout done!"
|
||||
|
|
Loading…
Reference in a new issue