From: Ian Jackson Date: Sun, 30 Jun 2019 11:16:17 +0000 (+0100) Subject: test suite: lib-baredebian: Provide `origbase' X-Git-Tag: archive/debian/9.0~32 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=2186de0a5e3cddca4f7b30a6ab1eee928b332785;p=dgit.git test suite: lib-baredebian: Provide `origbase' Was just a local variable `orig'. Make it available. No functional change. Signed-off-by: Ian Jackson --- diff --git a/tests/lib-baredebian b/tests/lib-baredebian index 676ff21c..123ce35a 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