summaryrefslogtreecommitdiffstats
path: root/dracut
diff options
context:
space:
mode:
authorBrian C. Lane <bcl@redhat.com>2012-08-20 17:25:52 -0700
committerBrian C. Lane <bcl@redhat.com>2012-08-21 07:11:16 -0700
commite2781e33207e22de855a151abd1c05a30dbb3c3d (patch)
tree4924947a6ec2473f0246d01cfa545d60a392537c /dracut
parentbc84cbeee6918bb940e5a0c1b2f70f947525ef70 (diff)
downloadanaconda-e2781e33207e22de855a151abd1c05a30dbb3c3d.tar.gz
anaconda-e2781e33207e22de855a151abd1c05a30dbb3c3d.tar.xz
anaconda-e2781e33207e22de855a151abd1c05a30dbb3c3d.zip
anaconda-modprobe: fix .ko removal
Diffstat (limited to 'dracut')
-rw-r--r--dracut/anaconda-modprobe.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/dracut/anaconda-modprobe.sh b/dracut/anaconda-modprobe.sh
index 6a6b20d13..f8ac2cacf 100644
--- a/dracut/anaconda-modprobe.sh
+++ b/dracut/anaconda-modprobe.sh
@@ -14,7 +14,7 @@ for m in $SCSI_MODULES/*.ko; do
# Shell spew to work around not having basename
# Trim the paths off the prefix, then the . suffix
a="${m##*/}"
- MODULE_LIST+=" ${a%*.}"
+ MODULE_LIST+=" ${a%.*}"
done
if [ "$ARCH" != "s390" -a "$ARCH" != "s390x" ]; then