From c03634fd2fe4680eb6c31c7c7f891e834cbdaef2 Mon Sep 17 00:00:00 2001 From: Philipp D Date: Thu, 24 Oct 2019 14:26:19 -0400 Subject: [PATCH] bug fix for Darwin replace_and_rename.sh --- share/replace_and_rename.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/share/replace_and_rename.sh b/share/replace_and_rename.sh index 8ae0bab5..fd5c00b6 100755 --- a/share/replace_and_rename.sh +++ b/share/replace_and_rename.sh @@ -25,5 +25,6 @@ elif [ $(uname -s) == Darwin ]; then -not -path "*/replace_and_rename.sh" \ -not -path "*/squash_history.sh" \ -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