changed ctags command
This commit is contained in:
parent
f2015b062c
commit
5a96c95f69
@ -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 "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
|
||||
|
Loading…
Reference in New Issue
Block a user