Slight fix to the way @TODO@ is detected.
This commit is contained in:
parent
4667dab403
commit
0fdad0a35a
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue