From a19ce59c51cc438895db95ba4b49011ebbc6b9ad Mon Sep 17 00:00:00 2001 From: mwiegand Date: Sun, 20 Jun 2021 00:38:18 +0200 Subject: [PATCH] wip --- bundles/archive/files/archive | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bundles/archive/files/archive b/bundles/archive/files/archive index 886a502..49de155 100644 --- a/bundles/archive/files/archive +++ b/bundles/archive/files/archive @@ -20,7 +20,9 @@ gsutil ${'\\'} -r ${'\\'} -d ${'\\'} -e ${'\\'} - -x '${'|'.join(options.get('exclude', []))}' ${'\\'} +% if options.get('exclude'): + -x '${'|'.join(options['exclude'])}' ${'\\'} +% endif '${options['encrypted_path']}' ${'\\'} 'gs://${bucket}/${node.name}${path}' ${'\\'} 2>&1 | logger -st gsutil