summaryrefslogtreecommitdiffstats
path: root/scripts/extract-ikconfig
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2006-03-24 03:15:56 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-24 07:33:21 -0800
commit008accbbae6b2f18c2039d563f28d46ff4388d36 (patch)
treeaf4ce5fd57dfa3b8a5a5f0b0654d3f45a4c51f08 /scripts/extract-ikconfig
parentff45e99dcd31e1810a9892ce28190bff262e4e12 (diff)
downloadlinux-008accbbae6b2f18c2039d563f28d46ff4388d36.tar.gz
linux-008accbbae6b2f18c2039d563f28d46ff4388d36.tar.bz2
linux-008accbbae6b2f18c2039d563f28d46ff4388d36.zip
[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/extract-ikconfig')
-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