10,12 → 10,12 |
# ============= |
# WorkingDir - existing directory with rw access |
# SvnPath - path ro subversion server with source files |
# SvnInfoFileName - name of file to put info about version in |
# SvnInfoFile - 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 |
SvnInfoFileName=.svn-info.txt |
SvnInfoFile=.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/$SvnInfoFileName |
echo "$Result" > $WorkingDir/source-exported/$SvnInfoFile |
echo "-------------------" >> $LogFile |
|
# Create HTML |
100,9 → 100,9 |
EnableApache="0" \ |
SourceDir="$WorkingDir/source-exported/" \ |
SourceAsm="amforth.asm" \ |
SvnInfoFileName="$SvnInfoFileName" \ |
SvnInfoFile="$SvnInfoFile" \ |
TemplateDir="$WebForthInPath/Templates/" \ |
DestinationDir="$WorkingDir/HTML/" \ |
DestinationDir="$WebForthOutPath/HTML/" \ |
> $LogFileGenerate 2>> $LogFile |
if (($?)); then |
echo "--> ERROR: GenerateHTML.php" | tee -a $LogFile |