Skip to content

Commit

Permalink
Fixing hard-coded directory in utility shell script
Browse files Browse the repository at this point in the history
  • Loading branch information
jk977 committed Oct 27, 2017
1 parent f3a3b3c commit 453b0cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/utils/findtodo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ source "$dir/../config.sh"

find "$basedir" -type f \( -name "*.py" -or -name "*.lua" -or -name "*.sh" \) -print0 | \
xargs -0 grep -P '(#|(--))\s+TODO' | \
sed 's_/home/pi/Desktop/twitch-plays/__' | \
sed "s_${basedir}__" | \
sed -r 's/(#|(--))\s+TODO:?//' | \
tr -s [:space:] | \
sort -u

0 comments on commit 453b0cb

Please sign in to comment.