Changeset 492 for trunk/confman.in


Ignore:
Timestamp:
11/11/2009 16:37:02 (2 years ago)
Author:
ccowart
Message:

Apparently doing sed_i_cmd in a variable has quoting issues and
doesn't perform as expected. I have factored the -i "" logic out
by defining a sed_i_cmd function differently on a per-OS basis.

I have also used the new sed_i_cmd idiom to solve the recipe updates on
renames issue.

Fixes #96, #98

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/confman.in

    r491 r492  
    157157    done 
    158158    rm -f "$orig_log" 
    159     ${sed_i_cmd} -e "/${ignoreline}/,\$d" "$logfile" 2>/dev/null 
     159    sed_i_cmd -e "/${ignoreline}/,\$d" "$logfile" 2>/dev/null 
    160160    echo "$logfile" 
    161161    return 0 
Note: See TracChangeset for help on using the changeset viewer.