Pass it as an argument.

This commit is contained in:
Simon Quigley 2019-03-09 20:54:50 -06:00
parent 5ae8cd8995
commit a586f81d7e
2 changed files with 3 additions and 1 deletions

View File

@ -25,6 +25,8 @@
set -u
RELEASE=$1
# Download files in parallel in background, only if there is an update
refresh() {
DIR=$BRITNEY_CACHE/$pocket/$(echo $1 | rev | cut --delimiter=/ --fields=2,3 | rev)

View File

@ -9,7 +9,7 @@ for RELEASE in $RELEASES; do
fi
# This is the main script, fetching the archives and running Britney
./fetch-indexes;
./fetch-indexes $RELEASE;
# Britney outputs the candidates for testing migration, read the additions
egrep -v '^(#|-)' britney_output/*/HeidiOutputDelta > candidates || echo "No candidates found.";