Support building multiple packages in sequence with invirt-build-release
[invirt/packages/invirt-dev.git] / invirt-ood-build
index 41f1408..fe2365a 100755 (executable)
@@ -9,7 +9,7 @@ fi
 
 echo "The following NEW packages will be built:"
 echo $packages | fmt | sed 's/^/  /'
-echo "Do you want to continue? [Y/n]"
+echo -n "Do you want to continue? [Y/n] "
 
 read answer
 if [ "${answer:0:1}" = "n" -o "${answer:0:1}" = "N" ]; then
@@ -17,7 +17,6 @@ if [ "${answer:0:1}" = "n" -o "${answer:0:1}" = "N" ]; then
    exit 0
 fi
 
-IFS="$(echo)"
 for package in $packages; do
     invirt-build-release "$package"
-fi
+done