From 0fdad0a35a75491aee17e58992491ad74df71e32 Mon Sep 17 00:00:00 2001 From: Laurence Withers Date: Mon, 24 Jul 2006 22:10:30 +0100 Subject: [PATCH] Slight fix to the way @TODO@ is detected. --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index c1a6790..affaf2a 100755 --- a/install.sh +++ b/install.sh @@ -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"