# HG changeset patch # User "Yann E. MORIN" # Date 1313707925 -7200 # Node ID 814ea73df7e0fab3db1cbe7623932714359c732b # Parent f44286235a07bb6b389721b9338061b642d3cdbc 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 -r f44286235a07 -r 814ea73df7e0 scripts/toolchain-config.in --- a/scripts/toolchain-config.in Fri Aug 19 00:35:26 2011 +0200 +++ b/scripts/toolchain-config.in Fri Aug 19 00:52:05 2011 +0200 @@ -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 ###