mirror of
https://github.com/mkuf/prind.git
synced 2026-02-25 23:50:50 +01:00
scripts: get-info: exclude directories from support archive; do not prematurely exit on error
This commit is contained in:
@@ -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 "
|
||||
|
||||
Reference in New Issue
Block a user