summaryrefslogtreecommitdiff
path: root/tests/lib-reprepro
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2017-01-06 19:49:23 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2017-01-06 19:49:23 +0000
commita5ab9e488522b8fb74a6eadc4a7acf9199e782c4 (patch)
treeef0fc5429cc771663f1066d30707b9943308c42d /tests/lib-reprepro
parent20d3465b51a39337e1117868f80fbc074d3f6b85 (diff)
Shell bug: avoid local=$(....) as it defeats set -e
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests/lib-reprepro')
-rw-r--r--tests/lib-reprepro2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib-reprepro b/tests/lib-reprepro
index d025d48..af33143 100644
--- a/tests/lib-reprepro
+++ b/tests/lib-reprepro
@@ -36,7 +36,7 @@ t-reprepro-setup () {
exec 3>$rrc/distributions
- local arch=`dpkg --print-architecture`
+ local arch; arch=`dpkg --print-architecture`
for suitespec in $suitespecs; do
local suite=${suitespec%%:*}