projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0947640
)
ver_linux: don't print reiser4progs version if none found
author
Alexey Dobriyan
<
[email protected]
>
Wed, 21 Sep 2005 17:37:24 +0000
(21:37 +0400)
committer
Sam Ravnborg
<
[email protected]
>
Wed, 5 Apr 2006 11:10:19 +0000
(13:10 +0200)
Sam: did the same for reiserprogs
Signed-off-by: Alexey Dobriyan <
[email protected]
>
Signed-off-by: Sam Ravnborg <
[email protected]
>
scripts/ver_linux
patch
|
blob
|
history
diff --git
a/scripts/ver_linux
b/scripts/ver_linux
index beb43ef7f761fffaaa80393129e554922f92b544..84999f69773d6cc232ea6db365eac38e4e1b83ba 100755
(executable)
--- 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 \