summaryrefslogtreecommitdiffstats
path: root/extract-rpm.sh
diff options
context:
space:
mode:
Diffstat (limited to 'extract-rpm.sh')
-rwxr-xr-xextract-rpm.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/extract-rpm.sh b/extract-rpm.sh
index 56bf0d9..1449660 100755
--- a/extract-rpm.sh
+++ b/extract-rpm.sh
@@ -8,7 +8,7 @@ fi
dest=$1; shift
-for rpm; do
+while read rpm; do
name="${rpm%.rpm}"
if [ "$name" = "$rpm" ]; then