- Timestamp:
- 12/14/11 12:54:02 (12 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/presentation_lpao.sh
r396 r463 21 21 # 22 22 # .. option:: -a application 23 # matlab or octave 23 # matlab or octave 24 24 # 25 25 # - Run :func:`presentation_lpao` with `octave`` or … … 68 68 # move this tool in a publication part 69 69 # 70 # faire propre sur le pb de détection de la présence de matlab/octave 71 # en fonction des systemes 72 # 70 73 # EVOLUTIONS 71 74 # ========== … … 75 78 # $URL$ 76 79 # 80 # - fplod/soclod 20111214 81 # 82 # * affreux patch car octave est un alias sur mac 83 # et les alias ne sont pas connus dans un shell !! 77 84 # - fplod 20110923T074512Z aedon.locean-ipsl.upmc.fr (Darwin) 78 85 # … … 92 99 echo " www : no specific posix checking" 93 100 ;; 101 Darwin) 102 octavecmd=/Applications/Octave.app/Contents/Resources/bin/octave 103 set -o posix 104 ;; 94 105 *) 95 106 set -o posix 96 107 ;; 97 108 esac 98 unset system99 109 # 100 110 set -u … … 119 129 # 120 130 # default 121 application= octave131 application=${octavecmd} 122 132 # 123 133 minargcount=2 … … 144 154 done 145 155 # 156 case ${application} in 157 octave) 158 application=${octavecmd} 159 ;; 160 esac 146 161 log=${PROJECT_LOG}/$(basename ${0} .sh).log.${log_date} 147 162 echo "[Context]" 1>> ${log} … … 181 196 status=${?} 182 197 ;; 183 octave)184 ${timecmd} octave--silent ${script} 1>> ${log} 2>&1198 ${octavecmd}) 199 ${timecmd} ${octavecmd} --silent ${script} 1>> ${log} 2>&1 185 200 status=${?} 186 201 ;; … … 211 226 # 212 227 unset log_date 228 unset system 213 229 # 214 230 exit -
trunk/src/varamma_profile.sh
r404 r463 58 58 # MATLABPATH is initialize to tell matlab where find tools. 59 59 # 60 # ${VARAMMA_OD} is added to the LaTeX environnement variable ${TEXINPUTS}.61 60 # 62 61 # SEE ALSO … … 130 129 # 131 130 # $Id$ 131 # 132 # - fplod/soclod 20111214 133 # 134 # * suppress TEXINPUTS definition : too many side effects 132 135 # 133 136 # - soclod/fplod 20111025 … … 412 415 set -u 413 416 # 414 # setup for LaTeX415 set +u416 if [ "${TEXINPUTS}" = "" ]417 then418 TEXINPUTS=.:${VARAMMA_OD}419 else420 TEXINPUTS=.:${TEXINPUTS}:${VARAMMA_OD}421 fi422 set -u423 export TEXINPUTS424 #425 417 # setup for matlab 426 418 MATLABPATH=${VARAMMA}
Note: See TracChangeset
for help on using the changeset viewer.