diff options
Diffstat (limited to 'scripts/kDebug2kdDebug.sh')
-rwxr-xr-x | scripts/kDebug2kdDebug.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/kDebug2kdDebug.sh b/scripts/kDebug2kdDebug.sh index a238845e..24f605f4 100755 --- a/scripts/kDebug2kdDebug.sh +++ b/scripts/kDebug2kdDebug.sh @@ -8,7 +8,7 @@ ## Written by David Faure <faure@kde.org>, licensed under GPL. ## 17/03/2000 -find $1 -name '*[cCph]' -type f | xargs grep -H -i 'ebug(\|warning(' \ +tqfind $1 -name '*[cCph]' -type f | xargs grep -H -i 'ebug(\|warning(' \ | grep -v 'kdDebug\|kdWarning' \ | grep -v include \ | sed -e "s#:.*##" \ @@ -109,7 +109,7 @@ while (<>) $arg =~ s/\.ascii\(\)$//; # remove $arg =~ s/\.latin1\(\)$//; # remove $arg =~ s/debugString\(([^\)]+)\)/$1/; # remove - # If "a ? b : c" then add parenthesis + # If "a ? b : c" then add tqparenthesis if ( $arg =~ m/.+\s*\?\s*.+\s*:\s*.+/ ) { $arg = "(" . $arg . ")"; } |