chiark / gitweb /
Shell bug: avoid local=$(....) as it defeats set -e
[dgit.git] / tests / lib-reprepro
index d025d48dd40747738dc497b0cf3733f43b78ee21..af331432a6820ed15ed4483f4188a6c90de375da 100644 (file)
@@ -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%%:*}