mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-06-21 16:39:37 +00:00
There's no longer any reason to require GNU awk:
- the only part that required it (socks proxy settings) is gone, - all remaining awk scripts are POSIXly correct (or should be). -------- diffstat follows -------- /trunk/configure | 5 2 3 0 ++--- /trunk/Makefile.in | 2 0 2 0 -- /trunk/scripts/build/kernel/linux.sh | 2 1 1 0 +- /trunk/scripts/build/internals.sh | 1 0 1 0 - /trunk/scripts/build/mpfr.sh | 2 1 1 0 +- /trunk/scripts/functions | 4 2 2 0 ++-- /trunk/scripts/saveSample.sh.in | 4 2 2 0 ++-- 7 files changed, 8 insertions(+), 12 deletions(-)
This commit is contained in:
@ -743,8 +743,8 @@ CT_DoSaveState() {
|
||||
CT_DoLog DEBUG " Saving environment and aliases"
|
||||
# We must omit shell functions, and some specific bash variables
|
||||
# that break when restoring the environment, later. We could do
|
||||
# all the processing in the gawk script, but a sed is easier...
|
||||
set |"${awk}" '
|
||||
# all the processing in the awk script, but a sed is easier...
|
||||
set |awk '
|
||||
BEGIN { _p = 1; }
|
||||
$0~/^[^ ]+ \(\)/ { _p = 0; }
|
||||
_p == 1
|
||||
|
Reference in New Issue
Block a user