summaryrefslogtreecommitdiff
path: root/tests/lib-build-modes
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib-build-modes')
-rw-r--r--tests/lib-build-modes4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib-build-modes b/tests/lib-build-modes
index 30fbb5a..ee2975d 100644
--- a/tests/lib-build-modes
+++ b/tests/lib-build-modes
@@ -86,7 +86,7 @@ bm-quirk-sbuild-after-act () {
# run. We know it must be running it in the chroot because we
# provide sbuild with the dsc, not the tree, so we simply
# ignore all executions of the clean target by schroot.
- local arch=$(dpkg-architecture -qDEB_BUILD_ARCH)
+ local arch; arch=$(dpkg-architecture -qDEB_BUILD_ARCH)
local sblog=../example_${v}_$arch.build
if [ -e $sblog ]; then
sed '
@@ -199,7 +199,7 @@ bm-run-one () {
bm-report-test "SOURCE FILE" [ -e $dsc ]
if [ $actual_status = success ]; then
- local changes=$(echo ../example_${v}_*.changes)
+ local changes; changes=$(echo ../example_${v}_*.changes)
case "$changes" in
*' '*) fail "build generated ambiguous .changes: $changes" ;;
esac