Add s/qDebug/kDebug script
This commit is contained in:
parent
f034b84daf
commit
4f160dd7b0
10
tools/port-kdebug.sh
Normal file
10
tools/port-kdebug.sh
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
# kDebug() becomes qDebug() in cpp files
|
||||
|
||||
for FS in `find $PWD -type f -name '*.cpp'`; do
|
||||
perl -p -i -e 's/kDebug\(\)/qDebug()/g' $FS
|
||||
done
|
||||
|
||||
#exit;
|
||||
|
Loading…
x
Reference in New Issue
Block a user