Ignore:
Timestamp:
04/06/2011 02:13:17 PM (13 years ago)
Author:
marcus
Message:

r197 | walther | 2011-04-06 14:12:17 +0200 (Mi, 06 Apr 2011) | 1 line

Installation wrapper now supports command line parameters for fk/locsat/debug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • SH_SHM/trunk/setup/decompress.sh

    r337 r363  
    2222CDIR=`pwd` 
    2323cd $TMPDIR 
    24 python ./setup/setup.py 
     24 
     25# parse options 
     26while getopts "l:f:v" OPTION 
     27do 
     28     case $OPTION in 
     29         l) 
     30             LOCSAT=$OPTARG 
     31             ;; 
     32         f) 
     33             FK=$OPTARG 
     34             ;; 
     35         v) 
     36             VERBOSE=1 
     37             ;; 
     38     esac 
     39done 
     40 
     41[ "$LOCSAT" = "" ] || LOCSAT="--locsat=$LOCSAT" 
     42[ "$FK" = "" ] || FK="--fk=$FK" 
     43[ "$VERBOSE" = "" ] || VERBOSE="--debug" 
     44 
     45python ./setup/setup.py $LOCSAT $FK $VERBOSE 
    2546 
    2647result=$? 
Note: See TracChangeset for help on using the changeset viewer.