Ignore:
Timestamp:
11/11/2009 14:15:28 (3 years ago)
Author:
ccowart
Message:

Merging support for recipe print with no arguments from trunk.

Resolves #85

Location:
branches/confman-1.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/confman-1.9

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

    r481 r482  
    11031103 
    11041104function recipe_print { 
    1105     if [ -z "$1" ] ; then print_usage 1 ; fi 
    11061105    local recipe="$1" 
     1106 
     1107    if [ -z "$recipe" ] ; then 
     1108        recipe=$(conf_get_recipe_name) 
     1109    fi 
     1110 
    11071111    if ! [ -f "$(conf_recipe_dir)/${recipe}" ] ; then 
    11081112        echo "Error: recipe $recipe does not exist." >&2 
    11091113        exit 1 
    11101114    fi 
     1115 
    11111116    cat "$(conf_recipe_dir)/${recipe}" 
    11121117} 
Note: See TracChangeset for help on using the changeset viewer.