summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2006-03-24 14:15:56 +0300
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-24 18:33:21 +0300
commit008accbbae6b2f18c2039d563f28d46ff4388d36 (patch)
treeaf4ce5fd57dfa3b8a5a5f0b0654d3f45a4c51f08 /scripts
parentff45e99dcd31e1810a9892ce28190bff262e4e12 (diff)
downloadlinux-008accbbae6b2f18c2039d563f28d46ff4388d36.tar.xz
[PATCH] extract-ikconfig: don't use --long-options
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/extract-ikconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/extract-ikconfig b/scripts/extract-ikconfig
index be2e57977419..8187e6f0dc2f 100755
--- a/scripts/extract-ikconfig
+++ b/scripts/extract-ikconfig
@@ -21,7 +21,7 @@ function dump_config {
let start="$start + 8"
let size="$end - $start"
- head --bytes="$end" "$file" | tail --bytes="$size" | zcat
+ dd if="$file" ibs=1 skip="$start" count="$size" 2>/dev/null | zcat
clean_up
exit 0