changed ctags command

This commit is contained in:
bjt-user 2024-07-08 20:39:44 +02:00
parent f2015b062c
commit 5a96c95f69

View File

@ -14,16 +14,16 @@ else
fi
if ! (( ${ctags_installed} )); then
printf "ctags is not installed! Git hooks are enabled and can only be executed if shfmt is installed.\n"
printf "Commit was aborted.\n"
exit 1
printf "Ctags is not installed! Git hooks are enabled and can only be executed if it is installed.\n"
printf "Commit was aborted.\n"
exit 1
fi
if ! ctags -R src/.; then
printf "\nCtags failed.\n\n"
printf "Ctags failed.\n\n"
exit 1
else
printf "\nCtags was successfully executed.\n"
printf "Ctags was successfully executed.\n"
fi
exit 0