- Timestamp:
- 03/05/12 11:09:14 (12 years ago)
- Location:
- trunk/src
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/project_profile.sh
- Property svn:keywords set to Id URL
r106 r151 16 16 # 17 17 # $ . ./project_profile.sh -d directory -i indir -o outdir -t tempdir -s saxo_dir 18 #19 18 # In ${HOME}/.profile, add the following line:: 20 19 # … … 29 28 # .. option:: -t <tempdir> 30 29 # .. option:: -s <saxo_dir> 30 # .. option:: -idl_cmd <idl_cmd> 31 31 # 32 32 # define PROJECT environment … … 46 46 # IDL_STARTUP is set to tell IDL where find tools. 47 47 # 48 # If :option:`idl_cmd` is used, **idl_cmd** will be used as the IDL command 49 # when launched from scripts. 50 # By default, ${IDL_CMD} is set to `idl`. 51 # 48 52 # FER_GO is completed with ${PROJECT}/src/ and ${PROJECT}/src/test/. 49 #50 53 # 51 54 # SEE ALSO … … 80 83 # -s ${HOME}/SAXO_DIR/ 81 84 # 82 # For pinsard on camelot.ipsl.polytechnique.fr or merlin15-c.climserv:: 85 # For pinsard on camelot.ipsl.polytechnique.fr or merlin15-c.climserv to use 86 # idl6.4:: 83 87 # 84 88 # $ cd ${HOME}/tropflux/ … … 87 91 # -i /homedata/${LOGNAME}/tropflux_d/ \ 88 92 # -o /homedata/${LOGNAME}/tropflux_d/ \ 89 # -t /homedata/${LOGNAME}/log/ 90 # -s ${HOME}/SAXO_DIR/ 93 # -t /homedata/${LOGNAME}/log/ \ 94 # -s ${HOME}/SAXO_DIR/ \ 95 # -idl_cmd /opt/idl-6.4/idl/bin/idl 91 96 # 92 97 # TODO … … 105 110 # 106 111 # $Id$ 112 # 113 # $URL$ 114 # 115 # - fplod 20120305 116 # 117 # * add idl_cmd option 118 # * improve with set -u 107 119 # 108 120 # - fplod 20111104T130726Z cratos (Linux) … … 142 154 unset system 143 155 # 156 set -u 157 # 144 158 LANG=C 145 159 # … … 147 161 command=project_profile.sh 148 162 # 149 usage=" Usage : ${command} -d directory -i indir -o outdir -t tempdir -s saxo_dir" 150 # 151 set +u 152 while [ ! -z "${1}" ] 163 usage=" Usage : ${command} -d directory -i indir -o outdir -t tempdir -s saxo_dir -idl_cmd idl_cmd" 164 # 165 # default 166 idl_cmd=idl 167 # 168 while [ ${#} -gt 0 ] 153 169 do 154 170 case ${1} in … … 177 193 saxo_dir=${2} 178 194 shift 195 ;; 196 -idl_cmd) 197 # command for idl 198 idl_cmd=${2} 199 shift 179 200 ;; 180 201 *) … … 320 341 export FER_GO 321 342 # 343 # set up for idl 344 IDL_CMD=${idl_cmd} 345 export IDL_CMD 346 unset idl_cmd 347 # 322 348 SAXO_DIR=${saxo_dir} 323 349 export SAXO_DIR
Note: See TracChangeset
for help on using the changeset viewer.