plymouth/plymouth-populate-initrd: get rid of awk
authorHarald Hoyer <harald@redhat.com>
Fri, 7 May 2010 09:02:31 +0000 (11:02 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 7 May 2010 09:02:31 +0000 (11:02 +0200)
modules.d/50plymouth/plymouth-populate-initrd

index b35a46f..effb0f9 100755 (executable)
@@ -30,7 +30,7 @@ if [[ $hostonly ]]; then
     if [ -L /usr/share/plymouth/themes/default.plymouth ]; then
        inst /usr/share/plymouth/themes/default.plymouth
         # Install plugin for this theme
-       PLYMOUTH_PLUGIN=$(grep "^ModuleName=" /usr/share/plymouth/themes/default.plymouth |awk -F= {'print $2'})
+       PLYMOUTH_PLUGIN=$(grep "^ModuleName=" /usr/share/plymouth/themes/default.plymouth | while read a b c; do echo $b; done;)
        inst ${LIBDIR}/plymouth/${PLYMOUTH_PLUGIN}.so
     fi
 else