From 3374dbf5ebbb34eb0d476fe3a4e5a9f97b11bd98 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" 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