diff --git a/ctctl b/ctctl index da4e37c..6b37403 100755 --- a/ctctl +++ b/ctctl @@ -578,10 +578,11 @@ ctctl_render_templates(){ fi done fi + GOMPLATE_COMMON_ARGS+=(--exclude .git* --exclude ./**/*.swp) local GOMPLATE_BUNDLE_ARGS=(--input-dir "bundles/${NAME}") # Do not render templates from dependencies, variables files, optional files directory content and images (images will be handled later) - GOMPLATE_BUNDLE_ARGS+=(--exclude .git* --exclude **.swp --exclude bundles.yml --exclude variables.yml --exclude images/** --exclude templates/** --exclude files/** --exclude example/**) + GOMPLATE_BUNDLE_ARGS+=(--exclude bundles.yml --exclude variables.yml --exclude images/** --exclude templates/** --exclude files/** --exclude example/**) # Now, render the merged config in a temp file