projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7bccf3
)
lsinitrd.sh: get rid of awk call
author
Harald Hoyer
<harald@redhat.com>
Tue, 3 Jul 2012 16:23:59 +0000
(18:23 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Tue, 3 Jul 2012 16:23:59 +0000
(18:23 +0200)
lsinitrd.sh
patch
|
blob
|
history
diff --git
a/lsinitrd.sh
b/lsinitrd.sh
index
f27f755
..
fc4b8b0
100755
(executable)
--- a/
lsinitrd.sh
+++ b/
lsinitrd.sh
@@
-63,7
+63,7
@@
if [[ $# -eq 2 ]]; then
exit $?
fi
-echo "$image: $(du -h $image |
awk '{print $1}'
)"
+echo "$image: $(du -h $image |
while read a b; do echo $a;done
)"
echo "========================================================================"
$CAT "$image" | cpio --extract --verbose --quiet --to-stdout 'lib/dracut/dracut-*' 2>/dev/null
echo "========================================================================"