tools/ct-ng.extract-config
changeset 276 835178a32fc1
parent 275 91c48f27338c
child 277 4c32aa5569b2
     1.1 --- a/tools/ct-ng.extract-config	Tue Jul 17 21:41:39 2007 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,23 +0,0 @@
     1.4 -#!/bin/sh
     1.5 -
     1.6 -# This scripts extracts a crosstool-NG configuration from the log file
     1.7 -# of a toolchain build with crosstool-NG.
     1.8 -
     1.9 -# Usage: $0 <logfile>
    1.10 -
    1.11 -cat "$1" |awk '
    1.12 -BEGIN {
    1.13 -  dump = 0;
    1.14 -}
    1.15 -
    1.16 -$0~/Dumping crosstool-NG configuration: done in.+s$/ {
    1.17 -  dump = 0;
    1.18 -}
    1.19 -
    1.20 -dump == 1 { $1 = "" }
    1.21 -dump == 1
    1.22 -
    1.23 -$0~/Dumping crosstool-NG configuration$/ {
    1.24 -  dump = 1;
    1.25 -}
    1.26 -' |cut -d ' ' -f 2-