Pull functions that are needed for the git remctl scripts out of the
[invirt/packages/invirt-dev.git] / invirt-build-release
index d412360..9dd40c1 100755 (executable)
@@ -18,8 +18,8 @@ for package; do
     dpkg-buildpackage -us -uc -rfakeroot -S
     cd ..
     arch_any=0
-    sed -ne 's/^Architecture: //p' ${Source}_${Version}.dsc | while read; do
-        case "$REPLY" in
+    sed -ne 's/^Architecture: //p' ${Source}_${Version}.dsc | while read arch; do
+        case "$arch" in
             all)
                 ;;
             any)