| 10,12 → 10,12 |
| # ============= |
| # WorkingDir - existing directory with rw access |
| # SvnPath - path ro subversion server with source files |
| # SvnInfoFile - name of file to put info about version in |
| # SvnInfoFileName - name of file to put info about version in |
| # WebForthInPath - name of directory with HTML templates and scripts |
| # WebForthOutPath - name of directory to put HTML pages in |
| WorkingDir=/home/miho/amforth |
| SvnPath=https://amforth.svn.sourceforge.net/svnroot/amforth/trunk |
| SvnInfoFile=.svn-info.txt |
| SvnInfoFileName=.svn-info.txt |
| WebForthInPath=/var/www/Articles/Forth |
| WebForthOutPath=/var/www/Articles/Forth |
| |
| 87,7 → 87,7 |
| echo "--> ERROR: svn export" | tee -a $LogFile |
| exit 1 |
| fi |
| echo "$Result" > $WorkingDir/source-exported/$SvnInfoFile |
| echo "$Result" > $WorkingDir/source-exported/$SvnInfoFileName |
| echo "-------------------" >> $LogFile |
| |
| # Create HTML |
| 100,9 → 100,9 |
| EnableApache="0" \ |
| SourceDir="$WorkingDir/source-exported/" \ |
| SourceAsm="amforth.asm" \ |
| SvnInfoFile="$SvnInfoFile" \ |
| SvnInfoFileName="$SvnInfoFileName" \ |
| TemplateDir="$WebForthInPath/Templates/" \ |
| DestinationDir="$WebForthOutPath/HTML/" \ |
| DestinationDir="$WorkingDir/HTML/" \ |
| > $LogFileGenerate 2>> $LogFile |
| if (($?)); then |
| echo "--> ERROR: GenerateHTML.php" | tee -a $LogFile |