Ignore:
Timestamp:
01/27/10 09:59:08 (11 years ago)
Author:
oranfry
Message:

got properties target working for all kits, plus some fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/release-kits/bin/rk

    r21394 r21652  
    2727elif [ "$rk_name" == "rk3" ]; then
    2828        rk_fullname="Release Kit for Greenstone3"
     29elif [ "$rk_name" == "sork2" ]; then
     30        rk_fullname="Source Code Release Kit for Greenstone2"
     31elif [ "$rk_name" == "sork3" ]; then
     32        rk_fullname="Source Code Release Kit for Greenstone3"
     33elif [ "$rk_name" == "cdrk2" ]; then
     34        rk_fullname="CD-ROM Release Kit for Greenstone2"
     35elif [ "$rk_name" == "derk" ]; then
     36        rk_fullname="Documented Examples Release Kit"
    2937else
    3038    show_help
    31     exit
    32 fi
    33 
    34 
    35 #cd up a level or two if needed
    36 if [ -e "$rk_name-build.properties" ]; then
    37     pushd . &>/dev/null
    38 elif [ -e "../$rk_name-build.properties" ]; then
    39     pushd .. &>/dev/null
    40 elif [ -e "../../$rk_name-build.properties" ]; then
    41     pushd ../.. &>/dev/null
    42 else
    43     echo "couldn't find file $rk_name-build.properties"
    44     echo "it should exist in the top level of the release"
    4539    exit
    4640fi
     
    7670fi
    7771
    78 #go back to original dir
    79 popd &>/dev/null
Note: See TracChangeset for help on using the changeset viewer.