Fix PROJECT_PREFIX
This commit is contained in:
@@ -1419,12 +1419,13 @@ main() {
|
||||
SCANS_DIR="$d"
|
||||
fi
|
||||
done
|
||||
echo "Using scans directory $SCANS_DIR"
|
||||
echo "Change the SCANS env var to override"
|
||||
echo "Scans directory: $SCANS_DIR"
|
||||
echo "Change the SCANS environment variable to override"
|
||||
echo "Example: SCANS=/path/to/other/scans ./qhtcp-workflow.sh"
|
||||
|
||||
# Set the automatic project directory prefix
|
||||
PROJECT_USER="$(whoami)"
|
||||
PROJECT_PREFIX="${DATE}_${PROJECT_USER}_" # reversed these so easier to sort and parse date
|
||||
PROJECT_PREFIX="${DATE}_${PROJECT_USER}" # reversed these so easier to sort and parse date
|
||||
san() { [[ $1 =~ [0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]_.+_.+ ]]; } # sanitizer regex for prefix
|
||||
|
||||
declare -ag PROJECTS=() # this array will hold all of the projects for this run
|
||||
|
||||
Reference in New Issue
Block a user