summaryrefslogtreecommitdiffstats
path: root/scripts/mk-images
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-06-14 04:35:19 +0000
committerMatt Wilson <msw@redhat.com>2000-06-14 04:35:19 +0000
commitf5bab72bdead4179c55c505d159aea6663667f15 (patch)
tree17c7816eaa14f40eba2af9d93dab7f7d46249446 /scripts/mk-images
parentdac70dc41ce3556c77eda983ba909da0e4ca390d (diff)
downloadanaconda-f5bab72bdead4179c55c505d159aea6663667f15.tar.gz
anaconda-f5bab72bdead4179c55c505d159aea6663667f15.tar.xz
anaconda-f5bab72bdead4179c55c505d159aea6663667f15.zip
place glob in proper place
Diffstat (limited to 'scripts/mk-images')
-rwxr-xr-xscripts/mk-images4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mk-images b/scripts/mk-images
index 01bd45918..b278b502a 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -89,8 +89,8 @@ findPackage() {
dir=$1
name=$2
- for n in $dir/$name*; do
- thisName=$(rpm --qf '%{NAME}' -qp $n.{${BUILDARCH},noarch}.rpm)
+ for n in $dir/$name*{${BUILDARCH},noarch}.rpm; do
+ thisName=$(rpm --qf '%{NAME}' -qp $n)
if [ -z "$thisName" ]; then
return
fi