- Timestamp:
- 10/26/06 12:45:17 (18 years ago)
- Location:
- trunk/SRC
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/xmldoc/savesaxo.sh
r195 r197 573 573 # copy files in a temporary directory 574 574 mkdir /tmp/download_${$}/ 575 cp -rp ../xmldoc //tmp/download_${$}/575 cp -rp ../xmldoc /tmp/download_${$}/ 576 576 cp -rp ../idldoc_html_output /tmp/download_${$}/ 577 577 # … … 594 594 mv ${file_html}_${$} ${file_html} 595 595 done 596 scp -rp /tmp/download_${$}/* ${lgforge}@forge.ipsl.jussieu.fr:/ipsl/forge/projets/saxo/download/ 596 echo 597 echo give SAXO password if asked 598 scp -rp /tmp/download_${$}/* saxo@forge.ipsl.jussieu.fr:/ipsl/forge/projets/saxo/download/ 597 599 rm -rf /tmp/download_${$}/ 598 600 fi -
trunk/SRC/Utilities/mergeonline_help.pro
r192 r197 6 6 ; Documentation 7 7 ; 8 ; @uses9 ; mergeonline_help.sh10 ;11 8 ; @restrictions 12 ; Works only with "Unix" type machine13 9 ; Needs at least version 6.2 14 10 ; … … 24 20 ; 25 21 ; is the IDL version at least 6.2 ? 26 IF float(strmid(!version.release, 0, 3)) LT 6.2 THEN BEGIN 22 idlversion = float(strmid(!version.release, 0, 3)) 23 IF idlversion LT 6.2 THEN BEGIN 27 24 print, 'Warning: You need at least IDL 6.2 to use SAXO/IDL merged online help' 28 25 return … … 57 54 IF homesrc EQ '' THEN return 58 55 59 homesaxo = file_dirname( find('buildinit.pro'), /mark_directory) + 'Documentation/idldoc_assistant_output/'56 homesaxo = file_dirname((find('buildinit.pro'))[0], /mark_directory) + 'Documentation/idldoc_assistant_output/' 60 57 IF file_test(homesaxo + 'idldoc-lib.adp') EQ 0 THEN BEGIN 61 58 print, 'Error when looking for the file '+ homesaxo + 'idldoc-lib.adp...' … … 84 81 ; are the 2 revision tags the same?? 85 82 IF array_equal(old, new) THEN BEGIN 86 !help_path = homesrc 87 print, 'Use SAXO/IDL merged online help...' 88 return 83 ; is IDL version the same of homesrc + 'home.html' ? 84 homehtml = getfile(homesrc+'home.html') 85 line = strmatch(homehtml, '*IDL '+ string(idlversion, format = '(f3.1)') + '*') 86 line = (where(line EQ 1))[0] 87 IF line NE -1 THEN BEGIN 88 !help_path = homesrc 89 print, 'Use SAXO/IDL merged online help...' 90 return 91 ENDIF 89 92 ENDIF 90 93 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.