Call issourcezap-member before ${gitdir} check
Some checks are pending
sourcezap / shellcheck (push) Waiting to run
Some checks are pending
sourcezap / shellcheck (push) Waiting to run
This commit is contained in:
parent
ef1295fb35
commit
b3720019b2
1 changed files with 5 additions and 4 deletions
|
@ -20,13 +20,14 @@ if [ "$(id -u)" = "0" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -e "${gitdir}" ]; then
|
||||
printerr "try 'sourcezap clone' instead"
|
||||
if ! "${libexec}"/utils/issourcezap-member; then
|
||||
printerr "$(id -un) is not a member of _sourcezap"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! "${libexec}"/utils/issourcezap-member; then
|
||||
printerr "$(id -un) is not a member of _sourcezap"
|
||||
if [ ! -e "${gitdir}" ]; then
|
||||
printerr "try 'sourcezap clone' instead"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cd "${gitdir}"
|
||||
|
|
Loading…
Reference in a new issue