From 21cdf7efe22f10930764fdd95f9e9baf2b9fb583 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20K=C3=BCffner?= Date: Sun, 6 Aug 2023 21:40:26 +0200 Subject: [PATCH] scripts: get-info: exclude directories from support archive; do not prematurely exit on error --- scripts/get-info.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/get-info.sh b/scripts/get-info.sh index 4e53128..e3d19ad 100755 --- a/scripts/get-info.sh +++ b/scripts/get-info.sh @@ -1,7 +1,5 @@ #!/bin/bash -set -e - if ! [ -f "docker-compose.yaml" ]; then echo -e " \033[1;31mMissing docker-compose.yaml\033[0m @@ -70,7 +68,7 @@ commands=( ## Generate archive archive_name="prind-info-$(date +%d%m%Y-%H%M%S).tar.gz" -tar -cf ${archive_name} ${tmpdir} 2> /dev/null +tar --exclude "out" --exclude "resonances" -cf ${archive_name} ${tmpdir} 2> /dev/null ## Prompt user to upload the generated file echo -e "