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:
parent
9a3ab9327c
commit
c03634fd2f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user