3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-23 04:43:42 +01:00

bug fix for Darwin replace_and_rename.sh

This commit is contained in:
Philipp D 2019-10-24 14:26:19 -04:00 committed by Nils Wentzell
parent 9a3ab9327c
commit c03634fd2f

View File

@ -25,5 +25,6 @@ elif [ $(uname -s) == Darwin ]; then
-not -path "*/replace_and_rename.sh" \ -not -path "*/replace_and_rename.sh" \
-not -path "*/squash_history.sh" \ -not -path "*/squash_history.sh" \
-exec sed -i '' -e "s/app4triqs/${app_name}/g; s/APP4TRIQS/${capital_name}/g" {} \; -exec sed -i '' -e "s/app4triqs/${app_name}/g; s/APP4TRIQS/${capital_name}/g" {} \;
find . -type f -not -path "./.git/*" -exec rename "s/app4triqs/${app_name}/" {} &> /dev/null \; find . -type f -not -path "./.git/*" -exec rename "s/app4triqs/${app_name}/" {} \; &> /dev/null
fi fi