From: Alexey Dobriyan Date: Wed, 21 Sep 2005 17:37:24 +0000 (+0400) Subject: ver_linux: don't print reiser4progs version if none found X-Git-Tag: v2.6.17-rc2~98^2~10 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=ea88df9bf895720289331e41ed73cdcb04059900;p=~emulex%2Finfiniband.git ver_linux: don't print reiser4progs version if none found Sam: did the same for reiserprogs Signed-off-by: Alexey Dobriyan Signed-off-by: Sam Ravnborg --- diff --git a/scripts/ver_linux b/scripts/ver_linux index beb43ef7f76..84999f69773 100755 --- a/scripts/ver_linux +++ b/scripts/ver_linux @@ -39,10 +39,10 @@ tune2fs 2>&1 | grep "^tune2fs" | sed 's/,//' | awk \ fsck.jfs -V 2>&1 | grep version | sed 's/,//' | awk \ 'NR==1 {print "jfsutils ", $3}' -reiserfsck -V 2>&1 | grep reiserfsck | awk \ +reiserfsck -V 2>&1 | grep ^reiserfsck | awk \ 'NR==1{print "reiserfsprogs ", $2}' -fsck.reiser4 -V 2>&1 | grep fsck.reiser4 | awk \ +fsck.reiser4 -V 2>&1 | grep ^fsck.reiser4 | awk \ 'NR==1{print "reiser4progs ", $2}' xfs_db -V 2>&1 | grep version | awk \