Changeset 21362

Show
Ignore:
Timestamp:
16.12.2009 13:16:52 (10 years ago)
Author:
oranfry
Message:

got rid of all setup.sh files and had the main scripts do the same job

Location:
main/trunk/release-kits
Files:
4 removed
7 modified

Legend:

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

    r19038 r21362  
    22export rk_name="cdrk2" 
    33export rk_fullname="CD Release Kit for Greenstone2" 
    4 export RK_HOME=$CDRK2_HOME 
    5 $CDRK2_HOME/linux/rk $* 
     4export RK_HOME="$(cd "$(dirname "$(dirname "$0")")" && pwd)" 
     5$RK_HOME/linux/rk "$*" 
    66 
  • main/trunk/release-kits/derk/bin/derk

    r18999 r21362  
    22export rk_name="derk" 
    33export rk_fullname="Document Examples Release Kit" 
    4 export RK_HOME=$DERK_HOME 
    5 $DERK_HOME/linux/rk $* 
     4export RK_HOME="$(cd "$(dirname "$(dirname "$0")")" && pwd)" 
     5$RK_HOME/linux/rk "$*" 
  • main/trunk/release-kits/rk2/bin/rk2

    r20721 r21362  
    22export rk_name="rk2" 
    33export rk_fullname="Release Kit for Greenstone2" 
    4 export RK_HOME=$RK2_HOME 
    5 $RK2_HOME/linux/rk $* 
     4export RK_HOME="$(cd "$(dirname "$(dirname "$0")")" && pwd)" 
     5$RK_HOME/linux/rk "$*" 
  • main/trunk/release-kits/rk3/bin/rk3

    r20335 r21362  
    22export rk_name="rk3" 
    33export rk_fullname="Release Kit for Greenstone3" 
    4 export RK_HOME=$RK3_HOME 
    5 $RK3_HOME/linux/rk $* 
     4export RK_HOME="$(cd "$(dirname "$(dirname "$0")")" && pwd)" 
     5$RK_HOME/linux/rk "$*" 
  • main/trunk/release-kits/shared/linux/rk

    r19907 r21362  
    11#!/bin/bash 
     2 
    23function show_title() { 
    34    echo "O---------------------------------------------O" 
     
    78    echo  
    89    echo "O---------------------------------------------O" 
    9  
    10     #for a in `seq 0 $(( 40 - ${#rk_name} ))`; do echo -n " "; done; echo "|" 
    11     #for a in `seq 0 $(( 40 - ${#rk_fullname} ))`; do echo -n " "; done; echo "|" 
    1210 
    1311} 
  • main/trunk/release-kits/sork2/bin/sork2

    r19038 r21362  
    22export rk_name="sork2" 
    33export rk_fullname="Source Release Kit for Greenstone2" 
    4 export RK_HOME=$SORK2_HOME 
    5 $SORK2_HOME/linux/rk $* 
     4export RK_HOME="$(cd "$(dirname "$(dirname "$0")")" && pwd)" 
     5$RK_HOME/linux/rk "$*" 
    66 
  • main/trunk/release-kits/sork3/bin/sork3

    r19957 r21362  
    22export rk_name="sork3" 
    33export rk_fullname="Source Release Kit for Greenstone3" 
    4 export RK_HOME=$SORK3_HOME 
    5 $SORK3_HOME/linux/rk $* 
     4export RK_HOME="$(cd "$(dirname "$(dirname "$0")")" && pwd)" 
     5$RK_HOME/linux/rk "$*" 
    66