From 6fc6d842e85efd3e692921b30b5e2a1fa3b69598 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Fri, 19 Aug 2011 00:52:05 +0200 Subject: scripts: simplify and fix the toolchain config script The script that is installed, and which sole purpose is to dump the .config that was used to build the toolchain, is pure insanity. Let's make it much, much more simpler... Signed-off-by: "Yann E. MORIN" (transplanted from 814ea73df7e0fab3db1cbe7623932714359c732b) diff --git a/scripts/toolchain-config.in b/scripts/toolchain-config.in index f28e07d..14549bc 100644 --- a/scripts/toolchain-config.in +++ b/scripts/toolchain-config.in @@ -1,8 +1,4 @@ #!/bin/sh -SKIP_ME="### CT_NG SKIP ME ###" -skip_me=$(($(cat "${0}" |@@grep@@ --binary-files=text -o -b -E "^${SKIP_ME}$" |cut -d : -f 1)+${#SKIP_ME}+1)) -dd if="${0}" bs=${skip_me} skip=1 2>/dev/null |bzcat +tail -n+5 "${0}" |bzcat exit 0 - -### CT_NG SKIP ME ### -- cgit v0.10.2-6-g49f6