Slight fix to the way @TODO@ is detected.

This commit is contained in:
Laurence Withers 2006-07-24 22:10:30 +01:00
parent 4667dab403
commit 0fdad0a35a
1 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ YEAR="$(date +%Y)"
do_cmd find . -type f -exec sed \
-e "s,@P@,${P},g" \
-e "s,@AUTHOR@,${AUTHOR},g" \
-e "s,@YEAR@,${YEAR},g"
-e "s,@YEAR@,${YEAR},g" \
-i {} \; || exit 1
@ -69,5 +69,5 @@ do_cmd find . -type f -exec sed \
# Print the todo list
echo
echo " ======== TODO list ========"
grep -Hn @TODO@ ${ALL_FILES}
find . -type f -a -not -path './scripts/build.*' -exec grep -Hrn @TODO@ {} \;
print_success "Done"