summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2016-08-11 10:53:31 (GMT)
committerDavid Faure <faure@kde.org>2016-08-11 10:53:46 (GMT)
commit3e20aa7dffeb9d8d5b52a747f56e122e518a5c39 (patch)
tree2d3f3b502447ab2a405c766b0951cb3909077e93
parentbbb0af7bba6170da243169659a74726d3cd2852f (diff)
don't insert \b into CMakeLists.txt
-rwxr-xr-xc++-rename-class-and-file2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++-rename-class-and-file b/c++-rename-class-and-file
index 586bc51..714dde9 100755
--- a/c++-rename-class-and-file
+++ b/c++-rename-class-and-file
@@ -28,7 +28,7 @@ else
buildsystemfile=`ls -1 *.pro 2>/dev/null | head -n 1`
fi
if test -n "$buildsystemfile"; then
- perl -pi -e "s/\b$oldfile\.cpp/\b$newfile.cpp/;s/\b$oldfile\.h/$newfile\.h/" $buildsystemfile
+ perl -pi -e "s/\b$oldfile\.cpp/$newfile.cpp/;s/\b$oldfile\.h/$newfile\.h/" $buildsystemfile
fi
# Rename class