scripts: simplify and fix the toolchain config script
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Aug 19 00:52:05 2011 +0200 (2011-08-19)
changeset 2614814ea73df7e0
parent 2613 f44286235a07
child 2615 ba0fbc5f6570
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" <yann.morin.1998@anciens.enib.fr>
scripts/toolchain-config.in
     1.1 --- a/scripts/toolchain-config.in	Fri Aug 19 00:35:26 2011 +0200
     1.2 +++ b/scripts/toolchain-config.in	Fri Aug 19 00:52:05 2011 +0200
     1.3 @@ -1,8 +1,4 @@
     1.4  #!/bin/sh
     1.5  
     1.6 -SKIP_ME="### CT_NG SKIP ME ###"
     1.7 -skip_me=$(($(cat "${0}" |@@grep@@ --binary-files=text -o -b -E "^${SKIP_ME}$" |cut -d : -f 1)+${#SKIP_ME}+1))
     1.8 -dd if="${0}" bs=${skip_me} skip=1 2>/dev/null |bzcat
     1.9 +tail -n+5 "${0}" |bzcat
    1.10  exit 0
    1.11 -
    1.12 -### CT_NG SKIP ME ###