Ignore:
Timestamp:
2008-07-25T09:13:08+12:00 (16 years ago)
Author:
oranfry
Message:

modified lirk3 to work with the new descend option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release-kits/lirk3/bin/lirk3

    r16188 r16539  
    1313    echo "      first level targets can be referred to by name. E.g., -from compile is the same as -from 1"
    1414    echo
    15     echo "  -descend"
    16     echo "      (shortcut for -Dresume.mode=descend)"
     15    echo "  -descend <target>"
     16    echo "      (shortcut for -Dresume.descend=<target>)"
    1717    echo "      execute only the descendents of the target specified with -from"
    18     echo "      for example, with -from 3 -descend, targets 3.1, 3.2, 3.3 etc. would be executed, but execution
     18    echo "      for example, with -descend 3, targets 3.1, 3.2, 3.3 etc. would be executed, but execution
    1919    echo "      would stop before target 4
    2020    echo
     
    5858
    5959    elif [ "$1" == "-descend" ]; then
    60         toexec="$toexec -Dresume.mode=descend"
    61         shift
     60        toexec="$toexec -Dresume.descend="
     61        descend=`echo $2 | sed 's/compile/1/g' | sed 's/create-distributions/2/g' | sed 's/create-installer/3/g' | sed 's/wrap/4/g'`
     62        toexec=$toexec$descend
     63        shift 2
    6264
    6365    elif [ "$1" == "-from" ]; then
Note: See TracChangeset for help on using the changeset viewer.