Changeset 477 for trunk/confman.in


Ignore:
Timestamp:
11/08/2009 22:19:36 (2 years ago)
Author:
ccowart
Message:

Passing full paths into conf_commit_file, which is the expected
convention.

Fixes #91

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/confman.in

    r475 r477  
    189189 
    190190function commit { 
    191     local msg status modules module symlink symlinks 
     191    local msg status modules module symlink abswork files 
    192192    local nocommit=true 
    193193    local opt OPTIND OPTARG 
     
    210210    system_lock=$(conf_lock_system) 
    211211    wcopy_lock=$(conf_lock_wcopy) 
     212    abswork=$(conf_abswork) 
    212213     
    213214    for module in $(conf_get_recipe); do 
     
    217218        do 
    218219            symlink=$(conf_rel_path "${symlink}") 
    219             symlinks="${symlinks:+${symlinks} }${symlink}" 
     220            files="${files:+${files} }${abswork}/${symlink}" 
    220221        done 
     222        files="${files:+${files} }${abswork}/${module}" 
    221223    done 
    222224     
     
    233235     
    234236    echo "Commit operation started" >&2 
    235     $nocommit || conf_commit_file $msg $modules $symlinks || return $? 
     237    $nocommit || conf_commit_file $msg $files || return $? 
    236238    for layer in $(conf_get_recipe) ; do 
    237239        echo "Rolling on $layer..." 
Note: See TracChangeset for help on using the changeset viewer.