Skip to content
This repository has been archived by the owner on Nov 18, 2020. It is now read-only.

Fixing 'Example' replacements on the rename script #33

Open
wants to merge 1 commit into
base: 4.1
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rename-vmod-script
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ git mv src/vmod_example.c src/vmod_${NAME}.c
git mv src/vmod_example.vcc src/vmod_${NAME}.vcc
git mv vmod-example.spec vmod-${NAME}.spec

git grep -z -l example | xargs -0 sed -i -s -e "s/example/${NAME}/g"
git grep -z -l example | xargs -0 sed -i -s -e "s/[Ee]xample/${NAME}/g"

git rm -f rename-vmod-script

Expand Down