BmpPP/configure.sh
2022-03-05 12:48:26 +01:00

6 lines
212 B
Bash

#!/bin/bash
# Replace {PROJECT_NAME} with first parameter given in all files
find . -type f -not \( -path '*.git/*' -or -path '*configure.sh*' -or -name 'Catch2.h' \) -exec sed -i "s/{PROJECT_NAME}/$1/g" {} \;