Changeset 549


Ignore:
Timestamp:
12/16/2011 14:03:51 (5 months ago)
Author:
blee
Message:

Move the file conf_get_prop calls in conf_rollout into the conditional
to be consistent with the directory calls. This is also a minor
performance optimization when a file is duplicated in a large number
of modules.

See #120

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/confmanlib.sh.in

    r547 r549  
    575575        for file in `find -L $moduledir -type f | grep -v "\.svn"` ; do 
    576576                local livefile=`echo "$file" | ${sed_cmd} -e "s:$moduledir::"` 
    577                 local owner=`conf_get_prop ${file} owner` 
    578                 local group=`conf_get_prop ${file} group` 
    579                 local mode=`conf_get_prop ${file} mode` 
    580         local symlink="`conf_get_prop ${file} symlink`" 
    581577        livefile="${LIVE_ROOT}${livefile}" 
    582578        if ! conf_beenthere $statefile "$livefile" ; then 
     579            local owner=`conf_get_prop ${file} owner` 
     580            local group=`conf_get_prop ${file} group` 
     581            local mode=`conf_get_prop ${file} mode` 
     582            local symlink="`conf_get_prop ${file} symlink`" 
    583583            file=`$readlink_cmd -m $file` 
    584584            if [ -n "$symlink" ]; then 
Note: See TracChangeset for help on using the changeset viewer.