X-Git-Url: https://git.phdru.name/?p=cookiecutter.git;a=blobdiff_plain;f=rename-project;h=f88d8d3a80d43fc1531f7a83be5aaacbebbffd3e;hp=14f41038e5027b99e89149e717709f039af6029c;hb=bc00a09168b883b6a6595b997dac3a170f48567d;hpb=1be6d93333697c1969be9dbaa722299effa770f5 diff --git a/rename-project b/rename-project index 14f4103..f88d8d3 100755 --- a/rename-project +++ b/rename-project @@ -18,7 +18,7 @@ fix_path() { fix_files() { for file in "$@"; do if [ -f "$file" ]; then - replace "$old_name" "$new_name" "$file" + sed -i /"$old_name"/"$new_name"/g "$file" fi done }