From: Victor Lowther Date: Fri, 6 Mar 2009 20:00:34 +0000 (-0600) Subject: Fix formatting in instmods a bit. X-Git-Tag: 0.1~331 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8d3852488280455455dc7307f3026558c8d2f2be;p=thirdparty%2Fdracut.git Fix formatting in instmods a bit. --- diff --git a/dracut-functions b/dracut-functions index bd4946a3b..cb66790c3 100755 --- a/dracut-functions +++ b/dracut-functions @@ -187,11 +187,11 @@ instmods() { =*) # This introduces 2 incompatible meanings for =* arguments # to instmods. We need to decide which one to keep. if [ "$mod" = "=ata" -a -f $srcmods/modules.block ] ; then - instmods $mpargs $(egrep 'ata|ahci' "${srcmods}/modules.block") + instmods $mpargs $(egrep 'ata|ahci' "${srcmods}/modules.block") elif [ -f $srcmods/modules.${mod#=} ]; then - instmods $mpargs $(cat ${srcmods}/modules.${mod#=} ) + instmods $mpargs $(cat ${srcmods}/modules.${mod#=} ) else - instmods $mpargs $(find "$srcmods" -path "*/${mod#=}/*") + instmods $mpargs $(find "$srcmods" -path "*/${mod#=}/*") fi ;; --*) mpargs+=" $mod";;