Changeset 488


Ignore:
Timestamp:
11/11/2009 14:29:08 (2 years ago)
Author:
ccowart
Message:

Merging commit working directory bug fix from trunk.

Resolves #91

Location:
branches/confman-1.9
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/confman-1.9

    • Property svn:mergeinfo changed
      /trunkmerged: 477
  • branches/confman-1.9/confman.in

    r487 r488  
    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..." 
  • branches/confman-1.9/confmanlib.sh.in

    r487 r488  
    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.