kconfig: fix default value for choice input
[pandora-kernel.git] / scripts / extract-ikconfig
index be2e579..8187e6f 100755 (executable)
@@ -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