Changeset 477


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

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

Fixes #91

Location:
trunk
Files:
2 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..." 
  • trunk/confmanlib.sh.in

    r476 r477  
    9191function conf_recipe_path { 
    9292    echo "$(conf_recipe_dir)/${RECIPE_NAME}" 
     93} 
     94 
     95function conf_abswork { 
     96    ${readlink_cmd} -m "$WORK_PATH" 
    9397} 
    9498 
Note: See TracChangeset for help on using the changeset viewer.