source: trunk/SRC/Documentation/xmldoc/savesaxo.sh @ 187

Last change on this file since 187 was 187, checked in by pinsard, 18 years ago

introducing hyperlinks in idldoc outputs (2/2)

  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 18.6 KB
Line 
1#!/bin/bash
2#
3# update :
4# $Id$
5# fplod 2006-09-20T11:05:23Z aedon.locean-ipsl.upmc.fr (Darwin)
6# correction to really suppress date in idldoc assistant outputs (font
7# instaed of div in html output)
8# fplod 2006-09-18T13:25:12Z aedon.locean-ipsl.upmc.fr (Darwin)
9# add status checking after makehtml.sh
10# smasson Fri Sep 15 10:42:01 CEST 2006
11# merge idldoc html and idldoc assistant
12# smasson Thu Sep 14 15:19:23 CEST 2006
13# add the revision number in the name of SAXO_SRC_*.tar.gz
14# smasson Wed Sep 13 14:18:02 CEST 2006
15# add the directory-overview.html from dir-files.html in idldoc_html_output
16# fplod 2006-09-07T08:09:47Z aedon.locean-ipsl.upmc.fr (Darwin)
17# main is rename to websaxo
18# fplod 2006-09-05T15:39:47Z aedon.locean-ipsl.upmc.fr (Darwin)
19# add Source link in idldoc html outpout
20# snlod/fplod 2006-08-25T08:30:36Z electre.locean-ipsl.upmc.fr (Darwin)
21# add for idldoc assistant
22# fplod 2006-08-17T09:19:06Z aedon.locean-ipsl.upmc.fr (Darwin)
23# add transformation after idldoc to force non-proportional font
24# on bloc delimited by
25#  <fixe>
26#  </fixe>
27# in .pro files (with modification of css)
28# !! do not replace \ by \\ inside this block
29# !! replace \ by an other character is a good idea
30# cf. example in ToBeReviewed/TRIANGULATION/definetri.pro
31# fplod 2006-07-21T08:23:52Z aedon.locean-ipsl.upmc.fr (Darwin)
32# add mini_notice production
33# fplod 2006-07-11T08:26:05Z aedon.locean-ipsl.upmc.fr (Darwin)
34# commented tidy in dohtml section is moved in makehtml
35# fplod 2006-07-10T08:22:53Z aedon.locean-ipsl.upmc.fr (Darwin)
36# ajout de  white-space: pre; dans la css pour file_comments
37# fplod 2006-07-04T13:09:19Z aedon.locean-ipsl.upmc.fr (Darwin)
38# for idldoc html output
39# because preformat option doesn't seem to work well
40# replace
41# div class="value"
42# by
43# div class="preformat"
44# fplod 2006-06-19T08:46:39Z aedon.locean-ipsl.upmc.fr (Darwin)
45# for idldoc html output
46#. replace
47#     -e 's/\(href=".*\)\(\.html\)\("\)/\1\2?format=raw\3/g' \
48#     -e 's/\(href=".*\)\(\.html\)\(#.*"\)/\1\2?format=raw\3/g' \
49#     -e 's/\(src=".*\)\(\.html\)\("\)/\1\2?format=raw\3/g' \
50# by
51# -e 's@\(href="[^.]*[^h]*[^t]*[^m]*[^l]*[^"]*\)\(\.html\)\("\)@\1\2?format=raw\3@g' \
52# -e 's@\(href="[^.]*[^h]*[^t]*[^m]*[^l]*[^"]*\)\(\.html\)\(#.*"\)@\1\2?format=raw\3@g' \
53#-e 's@\(src="[^.]*[^h]*[^t]*[^m]*[^l]*[^"]*\)\(\.html\)\("\)@\1\2?format=raw\3@g'
54# in order to be able to add ?format=raw several time on one line
55# . suppress .html in line like
56# a parameter from the routine ./ReadWrite/idl-NetCDF/ncdf_read.html
57# in files idldoc-index*.html
58# fplod 2006-06-14T12:41:37Z aedon.locean-ipsl.upmc.fr (Darwin)
59# add embed parameter idldoc instructions to try to fix ticket#17
60# fplod 2006-06-07T12:11:50Z aedon.locean-ipsl.upmc.fr (Darwin)
61# add g option in ?format=raw sed transformation in order to fix
62# link on top of idldoc like directory-overview.html
63# fplod 2006-06-07T10:57:35Z aedon.locean-ipsl.upmc.fr (Darwin)
64# add ?format=raw in idldoc production for frames
65# fplod 2006-06-07T08:14:15Z aedon.locean-ipsl.upmc.fr (Darwin)
66# add action for idldochtml
67# fplod 2006-06-02T14:28:30Z aedon.locean-ipsl.upmc.fr (Darwin)
68# modification to produce tar files in /tmp/saxo_${$} when dotar=1
69# modification to copy tar files on http://forge.ipsl.jussieu.fr/saxo/download/
70# when doforge=1
71# produce tar files in /tmp/saxo_${$} when dotar=1
72set -x
73set -u
74#
75docompileall=1
76dohtml=0
77dooldtest=0
78doidlwavedoc=0
79doidldoc=0
80doTARsrc=0
81doTARdata=0
82doforge=0
83doSRClodyc=0
84doDTAlodyc=0
85doSRCipsl=0
86doDTAipsl=0
87doSRCidris=0
88doDTAidris=0
89#
90case $( whoami ) in
91    smasson)
92        lgforge=smasson
93    ;;
94    floseb)
95        lgforge=smasson
96    ;;
97    *)
98        lgforge=saxo
99    ;;
100esac
101#
102if [ ${lgforge} != smasson ]
103then
104    doSRClodyc=0
105    doDTAlodyc=0
106    doSRCipsl=0
107    doDTAipsl=0
108    doSRCidris=0
109    doDTAidris=0
110fi
111#
112# get the date in a nice format
113#
114ndate=`date +%Y%m%d`
115rev=$( svn info | grep -i revision | awk '{print $NF}' )
116# memorize current directory
117memopwd=$(pwd) # should be <working space>/SRC/Documentation/xmldoc
118#
119#------------------------------------------------------------------
120if [ ${docompileall} -eq 1 ]
121    then
122    cat <<EOF > /tmp/compileall${$}.pro
123.reset_session
124;
125!path = expand_path('+' + '../..') + ':' + expand_path('+' + !dir)
126resolve_all, resolve_either='def_myuniquetmpdir', skip_routines = ['xxx2ps','trends', 'label_gmt']
127resolve_all, resolve_either = 'find', skip_routines = ['xxx2ps','trends', 'label_gmt']
128def_myuniquetmpdir
129oldcm = find('oldcm_empty')
130;oldcm = find('oldcm_full')
131oldcm = oldcm[0]
132@cm_general
133file_copy, oldcm, myuniquetmpdir + 'oldcm_used.pro', /overwrite
134IF !journal NE 0 THEN journal
135journal, myuniquetmpdir + 'cm_demomode_used.pro'
136journal
137;
138resolve_all, resolve_either='keep_compatibility', skip_routines = ['xxx2ps','trends', 'label_gmt']
139;
140EOF
141#
142    for i in $( find ${memopwd}/../.. -name "*.pro" | grep -iv label_gmt )
143      do
144# does it contains pro or function ?
145      egrep -iq '^ *    *(pro|function)' $i
146      if [ $? -eq 0 ]
147          then
148          echo "print, '$( basename $i .pro ) :'" >> /tmp/compileall${$}.pro
149          echo "resolve_all, resolve_either = '$( basename $i .pro )', skip_routines = ['xxx2ps','trends', 'label_gmt']" >> /tmp/compileall${$}.pro
150      fi
151    done
152    echo exit >> /tmp/compileall${$}.pro
153    IDL_STARTUP=/tmp/compileall${$}.pro
154    ${IDL_DIR}/bin/idl &> /tmp/compileallerr_${$}
155    echo
156    echo
157    grep -i "error" /tmp/compileallerr_${$}
158#    grep -q "Compilation error(s)" /tmp/compileallerr_${$}
159    if [ ${?} -ne 0 ]
160    then
161     echo "ALL SAXO files are OK..."
162     rm -f /tmp/compileallerr_${$} /tmp/compileall${$}.pro
163    else
164     grep "Compilation error(s)" /tmp/compileallerr_${$}
165     echo "eee : see /tmp/compileallerr_${$}"
166     more /tmp/compileallerr_${$}
167     exit 1
168    fi
169    echo
170    echo
171fi
172#------------------------------------------------------------------
173if [ ${dohtml} -eq 1 ]
174then
175#
176# redo the html file
177#
178    cd ${memopwd}
179    for docxml in firststeps.xml getsaxo.xml mailing.xml websaxo.xml tiplink.xml updatesaxo.xml whatissaxo.xml whatsnew.xml infoupdatekwd.xml infoupdatecm.xml mini_notice.xml faqsaxo.xml
180    do
181      ./makehtml.sh $(basename ${docxml} .xml)
182      status=${?}
183      if [ ${status} -ne 0 ]
184      then
185       echo "eee : pb with makehtml.sh $(basename ${docxml} .xml)"
186       exit 1
187      fi
188    done
189    exit 0
190fi
191#------------------------------------------------------------------
192if [ ${dooldtest} -eq 1 ]
193then
194# make the old test
195#
196    cd ${memopwd}/../../Tests/
197    ./makeold.sh
198    exit 0
199fi
200#------------------------------------------------------------------
201if  [ ${doidlwavedoc} -eq 1 ]
202then
203#
204# redo idlwave doc
205#
206    cd ${memopwd}/../..
207    Documentation/idlwave_catalog -v -f saxo
208    exit 0
209fi
210#------------------------------------------------------------------
211if  [ ${doidldoc} -eq 1 ]
212then
213#
214    # build a idl file to launch idldoc
215    output=../idldoc_html_output/
216    log="/tmp/idldochtlm_${$}.log"
217    pro="/tmp/idldochtlm_${$}.pro"
218    cat <<EOF > ${pro}
219!path = expand_path('+' + '../idldoc/')
220print,!path
221idldoc,root="../../",title="SAXO Documentation", $
222LOG_FILE="${log}", $
223output="${output}", $
224overview="../../overview", /statistics, /preformat, /embed
225exit
226EOF
227    # launch idl with the file built above
228    IDL_STARTUP=${pro};${IDL_DIR}/bin/idl
229    /bin/rm ${pro}
230    # In order to do not have to many revision in svn, we modify some
231    # lines produced by idldoc :
232    # - add Source link in each html file
233    # example :
234    # <td>Source</td>
235    # will be replaced by
236    # <td><a href="../../Calendar/caldat.pro?format=raw" title="Source code of a file">Source</a></td>
237    #
238    # - remove date and time of idldoc production
239    # examples :
240    # <!-- Generated by IDLdoc 2.0 on Wed Jun  7 10:25:28 2006 -->
241    # will be replaced by
242    # <!-- Generated by IDLdoc 2.0 -->
243    # <div id="tagline">Produced by IDLdoc 2.0 on Wed Jun  7 10:54:37 2006.</div
244    # will be replaced by
245    # <div id="tagline">Produced by IDLdoc 2.0</div>
246    # <h2>Produced on Wed Jun  7 10:23:13 2006</h2>
247    # will be delete
248    # other lines will be deleted because the time is the time of checkout not
249    # the time of revision.
250    # the sequence of lines
251    #<dl>
252    #      <dt>Last modification:</dt>
253    #       <dd>Fri Jun  2 11:46:24 2006</dd>
254    #    </dl>
255    # should also be removed ++ je ne sais pas dire en sed la ligne
256    # suivant l'occurence de Last modification
257    # add ?format=raw to links on html files
258    cat << EOF > /tmp/css_modification
259p.preformat {
260  font-family: Courier;
261}
262EOF
263    # count of directory levels in output
264    # this ount will be use to format relative path later
265    nblev1=$(echo ${output} | sed -e "s@/\$@@" |awk -F "/" '{print NF}')
266    #
267    list_html=$(find ${output} -name "*.html")
268    for file_html in ${list_html}
269    do
270     # build the .pro file name
271     bfile=$(basename ${file_html} .html)
272     # retrieve the path of html file relative to memopwd (so relative to
273     # output). This path will be used in "Source" link.
274     nblev2=$(dirname ${file_html} |  sed -e "s@/\$@@" | awk -F "/" '{print NF}')
275     difflev=$((${nblev2} - ${nblev1}))
276     if [ ${difflev} -ge 2 ]
277     then
278      ilev=1
279      reloutput_html=".."
280      while [ ${ilev} -le ${difflev} ]
281      do
282       reloutput_html="${reloutput_html}/.."
283       ilev=$(( ${ilev} + 1 ))
284      done
285      relpath_html=$(dirname ${file_html} | \
286                   sed -e "s@${output}@${reloutput_html}@" \
287                       -e "s@\$@/@")
288      echo "relpath ${relpath_html})"
289     else
290      relpath_html="./"
291     fi
292     # echo "relpath ${relpath_html}/${bfile}"
293     sed \
294     -e "s@<td >Source<\/td>@<td><a href=\"${relpath_html}/${bfile}.pro?format=raw\" title=\"Source code of a file\">Source<\/a><\/td>@" \
295     -e "s/\(Generated by IDLdoc 2.0\)\( on .*\)\( -->\)/\1\3/" \
296     -e "s/\(Produced by IDLdoc 2.0\)\( on .*\)\(\.<\/div>\)/\1\3/" \
297     -e "/<h2>Produced on/d" \
298     -e "/Last modification:/d" \
299     -e "/<dd>... ... .* ..:..:.. ....<\/dd>/d" \
300     -e 's@\(href="[^.]*[^h]*[^t]*[^m]*[^l]*[^"]*\)\(\.html\)\("\)@\1\2?format=raw\3@g' \
301     -e 's@\(href="[^.]*[^h]*[^t]*[^m]*[^l]*[^"]*\)\(\.html\)\(#.*"\)@\1\2?format=raw\3@g' \
302     -e 's@\(src="[^.]*[^h]*[^t]*[^m]*[^l]*[^"]*\)\(\.html\)\("\)@\1\2?format=raw\3@g' \
303     -e 's@<div class="value">@<div class="preformat">@' \
304     -e 's/div\#file_comments {/div\#file_comments { white-space: pre;/' \
305     -e 's@^ <fixe>@<p class="preformat">@' \
306     -e 's@^ </fixe>@</p>@' \
307     -e '/Main styles/r /tmp/css_modification' \
308     ${file_html} > ${file_html}_modify
309     mv ${file_html}_modify ${file_html}
310    done
311    rm /tmp/css_modification
312    # suppress ".html" in idldoc-index*.html in lines like
313    # a parameter from the routine ./ReadWrite/idl-NetCDF/ncdf_read.html
314    list_html=$(find ${output} -name "idldoc-index*.html")
315    for file_html in ${list_html}
316    do
317     sed \
318     -e "s/\(a parameter from the routine \)\(.*\)\(.html\)/\1\2/" \
319     ${file_html} > ${file_html}_modify
320     mv ${file_html}_modify ${file_html}
321    done
322    echo "iii : you can see log file in ${log}"
323    echo "iii : and look ${output}/idldoc-warnings.html#undoc"
324#
325    # build a idl file to launch idldoc
326    output=../idldoc_assistant_output/
327    log="/tmp/idldocassistant_${$}.log"
328    pro="/tmp/idldocassistant_${$}.pro"
329    cat <<EOF > ${pro}
330!path = expand_path('+' + '../idldoc/')
331print,!path
332idldoc,root="../../",title="SAXO Documentation Assistant", $
333LOG_FILE="${log}", $
334output="${output}", overview='../../overview', /statistics, /preformat, /embed, /assistant
335exit
336EOF
337    # launch idl with the file built above
338    IDL_STARTUP=${pro};${IDL_DIR}/bin/idl
339    /bin/rm ${pro}
340    # In order to do not have to many revision in svn, we modify some
341    # lines produced by idldoc :
342    # examples :
343    # <!-- Generated by IDLdoc 2.0 on Wed Jun  7 10:25:28 2006 -->
344    # will be replaced by
345    # <!-- Generated by IDLdoc 2.0 -->
346    # <p><font color="gray" size="-3">&nbsp;&nbsp;Produced by IDLdoc 2.0 on Wed Sep 13 16:32:10 2006.</font></p>
347    # will be replaced by
348    # <p><font color="gray" size="-3">&nbsp;&nbsp;Produced by IDLdoc 2.0</font></p>
349    # <h2>Produced on Wed Jun  7 10:23:13 2006</h2>
350    # will be delete
351    # other lines will be deleted because the time is the time of checkout not
352    # the time of revision.
353    # the sequence of lines
354    #<dl>
355    #      <dt>Last modification:</dt>
356    #       <dd>Fri Jun  2 11:46:24 2006</dd>
357    #    </dl>
358    # should also be removed ++ je ne sais pas dire en sed la ligne
359    # suivant l'occurence de Last modification
360    # replace *_param_* in href attributes because anchors are badly written
361    # with _keyword_
362    #++ -e 's@\(href="#_.*\)\(_param_\)\(.*"\)@\1_keyword_\3@g' \ # ++ pb global
363    # DON'T add here (in assistant idldoc output) ?format=raw to link because
364    #  ONLINE_HELP, book="../idldoc_assistant_output/idldoc-lib.adp", /full_path    # won't work
365    list_html=$(find ${output} -name "*.html")
366    for file_html in ${list_html}
367    do
368     sed \
369     -e "s/\(Generated by IDLdoc 2.0\)\( on .*\)\( -->\)/\1\3/" \
370     -e "s/\(Produced by IDLdoc 2.0\)\( on .*\)\(\.<\/font>\)/\1\3/" \
371     -e "/<h2>Produced on/d" \
372     -e "/Last modification:/d" \
373     -e "/<dd>... ... .* ..:..:.. ....<\/dd>/d" \
374     -e '/href/s@_param_@_keyword_@g' \
375     -e 's@<div class="value">@<div class="preformat">@' \
376     -e 's/div\#file_comments {/div\#file_comments { white-space: pre;/' \
377     -e 's@^ <fixe>@<pre style="font-family: Courier;">@' \
378     -e 's@^ </fixe>@</pre>@' \
379     ${file_html} > ${file_html}_modify
380     mv ${file_html}_modify ${file_html}
381    done
382    # add the directory-overview.html from dir-files.html in idldoc_html_output
383    list_html=$(find ../idldoc_html_output -name dir-files.html)
384    for file_html in ${list_html}
385    do
386      fout=../idldoc_assistant_output/${file_html#../idldoc_html_output/*}
387      fout=${fout%/*}/directory-overview.html
388      sed -e 's/?format=raw//g' ${file_html} > ${fout}
389    done
390    echo "iii : you can see log file in ${log}"
391    echo "iii : and look ${output}/idldoc-warnings.html#undoc"
392fi
393#------------------------------------------------------------------
394if [ ${doTARsrc} -eq 1 ]
395then
396    localtarbase=/tmp/savesaxo_${$}
397    mkdir  ${localtarbase}/
398# clean backup files : *~
399    find ${memopwd}/../../.. -name "*~" -exec rm {} \;
400# prepare the source tar (without the svn...)
401#
402    cd ${memopwd}/../../..
403    tar czf ${localtarbase}/SAXO_SRC_${ndate}r${rev}.tar.gz --exclude .svn SRC
404#
405#   informations
406    echo "iii : following file may be copied on http://forge.ipsl.jussieu.fr/saxo/download/"
407    ls -l ${localtarbase}
408fi
409#------------------------------------------------------------------
410if [ ${doTARdata} -eq 1 ]
411then
412    localtarbase=/tmp/savesaxo_${$}
413    mkdir  ${localtarbase}/
414#
415# prepare the data tar (without the svn...)
416#
417    cd ${memopwd}/../../..
418    tar czf ${localtarbase}/SAXO_DATA_${ndate}.tar.gz  --exclude .svn DATA
419#
420#   informations
421    echo "iii : following file may be copied on http://forge.ipsl.jussieu.fr/saxo/download/"
422    ls -l ${localtarbase}
423fi
424#------------------------------------------------------------------
425if [ ${doforge} -eq 1 ]
426then
427    echo "iii : you will be asked ${lgforge}@forge.ipsl.jussieu.fr passwd two times"
428    if [ ${doTARsrc} -ne 1 ]
429    then
430       localtarbase=${1}
431    fi
432    scp ${localtarbase}/SAXO_*.tar.gz ${lgforge}@forge.ipsl.jussieu.fr:/ipsl/forge/projets/saxo/download/
433    echo "iii : do not forget to update getsaxo.html"
434    echo "iii : \$ ./makehtml.sh getsaxo"
435    echo "iii : do not forget to clean ${localtarbase}"
436fi
437#------------------------------------------------------------------
438if [[ ($doDTAlodyc -eq 1) || ($doDTAipsl -eq 1) ]]
439then
440    echo "iii : you will be asked ${lgforge}@forge.ipsl.jussieu.fr passwd"
441    infodata=$(ssh ${lgforge}@forge.ipsl.jussieu.fr ls -lht /ipsl/forge/projets/saxo/download/SAXO_DATA_*.tar.gz | head -n 1)
442    filedata=$(echo ${infodata} | awk '{print $NF}')
443    filedata=$(basename $filedata)
444    cat <<EOF > job_data_$$
445#!/bin/bash
446cd SAXO_DIR
447#
448rm -rf DATA
449wget http://forge.ipsl.jussieu.fr/saxo/download/$filedata
450gunzip $filedata
451tar vxf $( basename $filedata .gz )
452rm -f $( basename $filedata .gz )
453#
454chmod -R 755 *
455exit
456#
457EOF
458fi
459#------------------------------------------------------------------
460if [ $doSRClodyc -eq 1 ]
461then
462# update src on cerbere
463#
464    echo "iii : update src on cerbere"
465    ssh smasson@cerbere.lodyc.jussieu.fr "svn update SAXO_DIR/SRC ; chmod -R 755 SAXO_DIR"
466fi
467#------------------------------------------------------------------
468if [ $doDTAlodyc -eq 1 ]
469then
470# update data on cerbere
471    echo "iii : update data on cerbere"
472    scp job_data_$$ smasson@cerbere.lodyc.jussieu.fr:.
473    ssh smasson@cerbere.lodyc.jussieu.fr "chmod 755 job_data_$$ ; ./job_data_$$ ; rm -f job_data_$$"
474fi
475#------------------------------------------------------------------
476if [ $doSRCipsl -eq 1 ]
477then
478# update src on calcul2
479#
480    echo "iii : update src on calcul2"
481    ssh smlod@calcul2.ipsl.jussieu.fr "svn update SAXO_DIR/SRC ; chmod -R 755 SAXO_DIR"
482fi
483#------------------------------------------------------------------
484if [ $doDTAipsl -eq 1 ]
485then
486# update data on cook
487    echo "iii : update data on cook"
488    scp job_data_$$ smlod@cook.ipsl.jussieu.fr:.
489    ssh smlod@cook.ipsl.jussieu.fr "chmod 755 job_data_$$ ; ./job_data_$$ ; rm -f job_data_$$"
490fi
491#------------------------------------------------------------------
492if [ $doSRCidris -eq 1 ]
493then
494# update src on rhodes
495    echo "iii : update src to rhodes"
496    ssh reee217@rhodes.idris.fr "/usr/local/pub/svn/svn-1.3.1/bin/svn update SAXO_DIR/SRC ; chmod -R 755 SAXO_DIR"
497fi
498#------------------------------------------------------------------
499if [ $doDTAidris -eq 1 ]
500then
501# create the update script for rhodes
502    if [[ ($doDTAlodyc -eq 0) && ($doDTAipsl -eq 0) ]]
503        then
504        echo "iii : you will be asked ${lgforge}@forge.ipsl.jussieu.fr passwd"
505        infodata=$(ssh ${lgforge}@forge.ipsl.jussieu.fr ls -lht /ipsl/forge/projets/saxo/download/SAXO_DATA_*.tar.gz | head -n 1)
506        filedata=$(echo ${infodata} | awk '{print $NF}')
507        filedata=$(basename $filedata)
508    fi
509    cat <<EOF > job_data_idris_$$
510#!/bin/ksh
511cd SAXO_DIR
512#
513rm -rf DATA
514echo "iii : you will be asked ${lgforge}@forge.ipsl.jussieu.fr passwd"
515scp ${lgforge}@forge.ipsl.jussieu.fr:/ipsl/forge/projets/saxo/download/$filedata .
516gunzip $filedata
517tar vxf $( basename $filedata .gz )
518rm -f $( basename $filedata .gz )
519#
520chmod -R 755 *
521exit
522#
523EOF
524# update data on gaya
525    echo "iii : update data to gaya"
526    scp job_data_idris_$$ reee217@gaya.idris.fr:.
527    ssh reee217@gaya.idris.fr "chmod 755 job_data_idris_$$ ; ./job_data_idris_$$ ; rm -f job_data_idris_$$"
528fi
529#------------------------------------------------------------------
530#
531[ -f job_src_$$ ] && rm -f job_src_$$
532[ -f job_data_$$ ] && rm -f job_data_$$
533[ -f job_data_idris_$$ ] && rm -f job_data_idris_$$
534#
535exit
536#
Note: See TracBrowser for help on using the repository browser.