diff --git a/libexec/sourcezap/commands/sourcezap-checkout b/libexec/sourcezap/commands/sourcezap-checkout index 399a54f..45544db 100755 --- a/libexec/sourcezap/commands/sourcezap-checkout +++ b/libexec/sourcezap/commands/sourcezap-checkout @@ -26,7 +26,7 @@ if ! "${libexec}"/scripts/is-sourcezap-member; then exit 1 fi -if [ ! -e "${repodir}/.git" ]; then +if [ ! -e "${repodir}"/.git ]; then printerr "try 'sourcezap clone' instead" exit 1 fi