From 0813b39aed2cf4c84157a22c4c9594336d93d412 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- scripts/adddebug | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/adddebug') diff --git a/scripts/adddebug b/scripts/adddebug index 912fef71..8968e89c 100755 --- a/scripts/adddebug +++ b/scripts/adddebug @@ -23,7 +23,7 @@ if test -z $ndebug; then xpr="$xpr;"'s/[\t ]-DNDEBUG\b//g' xpr="$xpr;"'s/[\t ]-DNO_DEBUG\b//g' fi -tqfind . $mxdp -name Makefile -exec perl -pi -e "$xpr" {} \; +find . $mxdp -name Makefile -exec perl -pi -e "$xpr" {} \; using_unsermake= if head -n 1 Makefile | grep unsermake >/dev/null; then @@ -43,7 +43,7 @@ if test "$using_unsermake" = "new"; then # warning this uses sed, so the '?' in the perl regexp above doesn't work here cxxflags=`grep ^CXXFLAGS $toplevelMakefile | sed -e 's/[\t ]-O[1-9]\b//g;s/[\t ]-march=\S+\b//g;s/[\t ]-DNDEBUG\b//g;s/[\t ]-DNO_DEBUG\b//g'` xpr="s/^CXXFLAGS\s*=.*//; if ( /^\.FORWARDS:/) { "'$_'" .= \"\n$cxxflags -g3\"; }" - tqfind . $mxdp -name Makefile -exec perl -pi -e "$xpr" {} \; + find . $mxdp -name Makefile -exec perl -pi -e "$xpr" {} \; else echo "ERROR: top_builddir is $top_builddir but $makevars not found" fi @@ -56,7 +56,7 @@ elif test "$using_unsermake" = "old"; then # warning this uses sed, so the '?' in the perl regexp above doesn't work here cxxflags=`grep ^CXXFLAGS $makevars | sed -e 's/[\t ]-O[1-9]\b//g;s/[\t ]-march=\S+\b//g;s/[\t ]-DNDEBUG\b//g;s/[\t ]-DNO_DEBUG\b//g'` xpr="s/^CXXFLAGS\s*=.*//; if ( /^include .*MakeVars$/) { "'$_'" .= \"\n$cxxflags -g3\"; }" - tqfind . $mxdp -name Makefile -exec perl -pi -e "$xpr" {} \; + find . $mxdp -name Makefile -exec perl -pi -e "$xpr" {} \; else echo "ERROR: top_builddir is $top_builddir but $makevars not found" fi -- cgit v1.2.1