X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=scripts%2Fver_linux;h=beb43ef7f761fffaaa80393129e554922f92b544;hb=720a845911097cea1394fe7abb2c9efa76e32715;hp=a28c279c49dd043b86aa976ce58bd01261d86410;hpb=1694145854a309bebd12a5cce63c9b398304e3bb;p=linux-2.6 diff --git a/scripts/ver_linux b/scripts/ver_linux index a28c279c49..beb43ef7f7 100755 --- a/scripts/ver_linux +++ b/scripts/ver_linux @@ -25,9 +25,11 @@ ld -v | awk -F\) '{print $1}' | awk \ '/BFD/{print "binutils ",$NF} \ /^GNU/{print "binutils ",$4}' -fdformat --version | awk -F\- '{print "util-linux ", $NF}' +echo -n "util-linux " +fdformat --version | awk '{print $NF}' | sed -e s/^util-linux-// -e s/\)$// -mount --version | awk -F\- '{print "mount ", $NF}' +echo -n "mount " +mount --version | awk '{print $NF}' | sed -e s/^mount-// -e s/\)$// depmod -V 2>&1 | awk 'NR==1 {print "module-init-tools ",$NF}'