Changeset 498 for trunk


Ignore:
Timestamp:
11/12/2009 12:10:43 (3 years ago)
Author:
ccowart
Message:

Moving the call to conf_install_file up into the for loop
to overcome the shell quoting issue.

See #102

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/confman.in

    r497 r498  
    254254function inst { 
    255255    local file livefile 
    256     local msg status files args 
     256    local msg status files 
    257257    local nocommit=true 
    258258    local system_lock wcopy_lock 
     
    294294    for layer in $(conf_get_recipe) ; do 
    295295        # Fix singularities in the file arguments 
    296         args= 
    297296        for file in "$@"; do 
    298297            module=$(conf_wfile_module $file) 
    299298            if conf_wfile_is_singularity $file; then 
    300                 args="${args:+${args} }${file%-$module}-${layer}" 
     299                conf_install $layer "${file%-$module}-${layer}" 
    301300            else 
    302                 args="${args:+${args} }${file}" 
     301                conf_install $layer "$file" 
    303302            fi 
     303            conf_install $layer "$file" 
    304304        done 
    305  
    306         conf_install $layer "$args" 
    307305    done 
    308306    for file in $SINGULARITIES ; do 
Note: See TracChangeset for help on using the changeset viewer.