X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;ds=sidebyside;f=rename-project;h=f88d8d3a80d43fc1531f7a83be5aaacbebbffd3e;hb=8c864209256af5d88eee2eefc74c86c32b24d911;hp=14f41038e5027b99e89149e717709f039af6029c;hpb=f9cb66b0a070eec5151adb1edc59634add7630d1;p=cookiecutter.git 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 }