1.1 --- a/scripts/functions Sun Apr 19 16:58:21 2009 +0000
1.2 +++ b/scripts/functions Mon May 18 16:51:20 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