Changeset 17633

Show
Ignore:
Timestamp:
30.10.2008 09:47:35 (11 years ago)
Author:
oranfry
Message:

a new rk script which doesn't create the intaller directory before starting ant, and which also checks a few levels up for a build.properties if needed

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • release-kits/shared/linux/rk

    r17401 r17633  
    3434 
    3535} 
     36 
     37#cd up a level or two if needed 
     38if [ ! -e "build.properties" ]; then 
     39    if [ -e "../build.properties" ]; then 
     40        RKOLDPWD=`pwd` 
     41        cd .. 
     42    elif [ -e "../../build.properties" ]; then 
     43        RKOLDPWD=`pwd` 
     44        cd ../.. 
     45    fi 
     46fi 
    3647 
    3748#work out the classpath 
     
    7687done 
    7788 
    78 #create directories 
    79 if [ "$sim_mode" != "on" ]; then 
    80     if [ ! -d "installer/classes" ]; then mkdir -p installer/classes; fi 
     89if [ "$RKOLDPWD" != "" ]; then 
     90    cd $RKOLDPWD 
    8191fi 
     92