diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2019-06-30 12:16:17 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2019-06-30 21:11:18 +0100 |
commit | 2186de0a5e3cddca4f7b30a6ab1eee928b332785 (patch) | |
tree | 10b68f512aaf6368812f25a4b9abe6ca65b7f416 /tests | |
parent | 32f7ea7414187bdf088cf4ab4281ca358fcd750c (diff) |
test suite: lib-baredebian: Provide `origbase'
Was just a local variable `orig'. Make it available.
No functional change.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib-baredebian | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib-baredebian b/tests/lib-baredebian index 676ff21..123ce35 100644 --- a/tests/lib-baredebian +++ b/tests/lib-baredebian @@ -6,6 +6,7 @@ baredebian-test-vars () { suite=sid uv=${v%-*} uvtag=v$uv + origbase=${p}_${uv}.orig xorigcomps='' } @@ -21,12 +22,11 @@ baredebian-test-core () { t-dgit -wn --dgit-view-save=split.f1 --$quiltmode quilt-fixup - local orig=${p}_${uv}.orig - tar --strip-components=1 -axf ../$orig.tar.* + tar --strip-components=1 -axf ../$origbase.tar.* for comp in $xorigcomps; do mkdir $comp cd $comp - tar --strip-components=1 -axf ../../$orig-$comp.tar.* + tar --strip-components=1 -axf ../../$origbase-$comp.tar.* cd .. done |