mirror of
https://github.com/lubuntu-team/ppa-britney.git
synced 2025-07-04 19:41:29 +00:00
Pass it as an argument.
This commit is contained in:
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…
x
Reference in New Issue
Block a user