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
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -e "${gitdir}" ]; then
|
if ! "${libexec}"/utils/issourcezap-member; then
|
||||||
printerr "try 'sourcezap clone' instead"
|
printerr "$(id -un) is not a member of _sourcezap"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! "${libexec}"/utils/issourcezap-member; then
|
if [ ! -e "${gitdir}" ]; then
|
||||||
printerr "$(id -un) is not a member of _sourcezap"
|
printerr "try 'sourcezap clone' instead"
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd "${gitdir}"
|
cd "${gitdir}"
|
||||||
|
|
Loading…
Reference in a new issue