Some header work

This commit is contained in:
2024-08-01 17:14:31 -04:00
parent 0d317325c1
commit 5a85ffda50

View File

@@ -302,14 +302,12 @@ print_header() {
echo "Arguments: $*" echo "Arguments: $*"
echo "" echo ""
echo "Using scans directory: $SCANS_DIR" echo "Using scans directory: $SCANS_DIR"
echo "Change the SCANS_DIR environment variable to override"
echo "Example: SCANS_DIR=/path/to/scans ./qhtcp-workflow"
echo ""
echo "Using output directory: $OUT_DIR" echo "Using output directory: $OUT_DIR"
echo "Change the out_DIR environment variable to override" echo "Change the SCANS_DIR or OUT_DIR environment variable(s) to override"
echo "Example: SCANS_DIR=/path/to/scans OUT_DIR=/path/to/out ./qhtcp-workflow" echo "Example: SCANS_DIR=/path/to/scans OUT_DIR=/path/to/out ./qhtcp-workflow"
echo "" echo ""
# Gather projects from SCANS_DIR
shopt -s nullglob shopt -s nullglob
projects=("$SCANS_DIR"/*/) projects=("$SCANS_DIR"/*/)
shopt -u nullglob shopt -u nullglob