From dc9f04c18f9a96d6e0252275bab454c793fe1e44 Mon Sep 17 00:00:00 2001 From: Jason Carver Date: Fri, 3 May 2019 14:45:31 -0700 Subject: [PATCH] Skip venv in template filler & print progress --- .project-template/fill_template_vars.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.project-template/fill_template_vars.sh b/.project-template/fill_template_vars.sh index f09e8ffe..c9cb8261 100755 --- a/.project-template/fill_template_vars.sh +++ b/.project-template/fill_template_vars.sh @@ -29,7 +29,8 @@ echo "What is a one-liner describing the project?" read SHORT_DESCRIPTION _replace() { - local find_cmd=(find "$PROJECT_ROOT" ! -perm -u=x ! -path '*/.git/*' -type f) + echo "Replacing values: $1" + local find_cmd=(find "$PROJECT_ROOT" ! -perm -u=x ! -path '*/.git/*' ! -path '*/venv*/*' -type f) if [[ $(uname) == Darwin ]]; then "${find_cmd[@]}" -exec sed -i '' "$1" {} +