mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-30 09:38:52 +00:00
No need for this script now the config is tored in its own file.
This commit is contained in:
parent
16c6cc994f
commit
744401bc0e
@ -1,23 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# This scripts extracts a crosstool-NG configuration from the log file
|
|
||||||
# of a toolchain build with crosstool-NG.
|
|
||||||
|
|
||||||
# Usage: cat <logfile> |$0
|
|
||||||
|
|
||||||
awk '
|
|
||||||
BEGIN {
|
|
||||||
dump = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
$0~/Dumping crosstool-NG configuration: done in/ {
|
|
||||||
dump = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
dump == 1 { $1 = "" }
|
|
||||||
dump == 1
|
|
||||||
|
|
||||||
$0~/Dumping crosstool-NG configuration$/ {
|
|
||||||
dump = 1;
|
|
||||||
}
|
|
||||||
' |cut -d ' ' -f 2-
|
|
Loading…
Reference in New Issue
Block a user