2022-03-05 12:34:19 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
|
|
# Replace {PROJECT_NAME} with first parameter given in all files
|
2022-03-05 12:48:26 +01:00
|
|
|
find . -type f -not \( -path '*.git/*' -or -path '*configure.sh*' -or -name 'Catch2.h' \) -exec sed -i "s/{PROJECT_NAME}/$1/g" {} \;
|
2022-03-05 12:34:19 +01:00
|
|
|
|