Pass it as an argument.

master
Simon Quigley 6 years ago
parent 5ae8cd8995
commit a586f81d7e

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

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

Loading…
Cancel
Save