diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-08-19 00:52:05 +0200 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-08-19 00:52:05 +0200 |
commit | 3374dbf5ebbb34eb0d476fe3a4e5a9f97b11bd98 (patch) | |
tree | fcd13e9cac2a9e21e3ef30cc3992beeaf4f47939 /scripts/toolchain-config.in | |
parent | abae6732e82df6e1343c543edc1e1aecdeb538ec (diff) | |
download | crosstool-ng-3374dbf5ebbb34eb0d476fe3a4e5a9f97b11bd98.tar.gz crosstool-ng-3374dbf5ebbb34eb0d476fe3a4e5a9f97b11bd98.tar.bz2 crosstool-ng-3374dbf5ebbb34eb0d476fe3a4e5a9f97b11bd98.zip |
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>
Diffstat (limited to 'scripts/toolchain-config.in')
-rw-r--r-- | scripts/toolchain-config.in | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/scripts/toolchain-config.in b/scripts/toolchain-config.in index f28e07db..14549bc3 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 ### |