Skip to content

Commit

Permalink
fix substitution in bash script
Browse files Browse the repository at this point in the history
  • Loading branch information
EugenMayer committed Feb 17, 2025
1 parent 5b4fecd commit d2e5125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vulnz/src/docker/scripts/mirror.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ if [ -n "${MAX_RECORDS_PER_PAGE}" ]; then
fi

MAX_DAYS_OF_YEAR_RANGED_ARG=""
if [ -n "${$MAX_DAYS_OF_YEAR_RANGED}" ]; then
if [ -n "${MAX_DAYS_OF_YEAR_RANGED}" ]; then
echo "Limiting a maximum of $MAX_DAYS_OF_YEAR_RANGED for a year slice"
MAX_DAYS_OF_YEAR_RANGED_ARG="--maxDaysOfYearRange=$MAX_DAYS_OF_YEAR_RANGED"
fi
Expand Down

0 comments on commit d2e5125

Please sign in to comment.