Changeset 500 for branches/confman-1.9/confman.in
- Timestamp:
- 11/12/2009 14:30:46 (3 years ago)
- Location:
- branches/confman-1.9
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
confman.in (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/confman-1.9
-
branches/confman-1.9/confman.in
r494 r500 254 254 function inst { 255 255 local file livefile 256 local msg status files file sing256 local msg status files 257 257 local nocommit=true 258 258 local system_lock wcopy_lock 259 259 local opt OPTIND OPTARG 260 local module 260 261 261 262 while getopts ":m:F:" opt ; do … … 270 271 shift $(($OPTIND - 1)) 271 272 273 [ -n "$1" ] || print_usage 1 274 272 275 system_lock=$(conf_lock_system) 273 276 wcopy_lock=$(conf_lock_wcopy) … … 290 293 291 294 for layer in $(conf_get_recipe) ; do 292 conf_install $layer "$@" 295 for file in "$@"; do 296 module=$(conf_wfile_module $file) 297 if conf_wfile_is_singularity $file; then 298 conf_install $layer "${file%-$module}-${layer}" 299 else 300 conf_install $layer "$file" 301 fi 302 done 293 303 done 294 304 for file in $SINGULARITIES ; do … … 1010 1020 if [ -z "$new_recipe_file" ] ; then 1011 1021 if ! recipe_edit "$recipe" ; then 1012 conf_rm_file --force "${ new_recipe_file}"1022 conf_rm_file --force "${recipe_file}" 1013 1023 conf_unlock_wcopy $wcopy_lock 1014 1024 return 1
Note: See TracChangeset
for help on using the changeset viewer.
