scripts/functions
branchgcc-4.4
changeset 1383 46658e3fc781
parent 1294 6fe8df60cfa4
child 1391 3c28b9f917d2
     1.1 --- a/scripts/functions	Sun Apr 19 16:58:21 2009 +0000
     1.2 +++ b/scripts/functions	Mon May 25 17:26:21 2009 +0000
     1.3 @@ -743,8 +743,8 @@
     1.4      CT_DoLog DEBUG "  Saving environment and aliases"
     1.5      # We must omit shell functions, and some specific bash variables
     1.6      # that break when restoring the environment, later. We could do
     1.7 -    # all the processing in the gawk script, but a sed is easier...
     1.8 -    set |"${awk}" '
     1.9 +    # all the processing in the awk script, but a sed is easier...
    1.10 +    set |awk '
    1.11                BEGIN { _p = 1; }
    1.12                $0~/^[^ ]+ \(\)/ { _p = 0; }
    1.13                _p == 1