Update Build Script
This commit is contained in:
parent
9966edd6ca
commit
f4d94df926
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ if [ ! "$?" = "1" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
scp matmoul@web.sourceforge.net:/home/frs/project/$prjname/README.txt /dev/null
|
scp matmoul@web.sourceforge.net:/home/frs/project/$prjname/README.txt /dev/null
|
||||||
if [ ! "$?" = "1" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
echo "No Sourceforge ssh key loaded exiting..."
|
echo "No Sourceforge ssh key loaded exiting..."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
@ -101,6 +101,6 @@ echo "<?php" > $pubfile
|
||||||
echo "header(\"Location: http://downloads.sourceforge.net/project/$prjname/release/$version/$prjname\");" >> $pubfile
|
echo "header(\"Location: http://downloads.sourceforge.net/project/$prjname/release/$version/$prjname\");" >> $pubfile
|
||||||
echo "exit;" >> $pubfile
|
echo "exit;" >> $pubfile
|
||||||
echo "?>" >> $pubfile
|
echo "?>" >> $pubfile
|
||||||
scp -r $pubfile matmoul@web.sourceforge.net:/home/project-web/$prjname/htdocs/$prjname/
|
scp $pubfile matmoul@web.sourceforge.net:/home/project-web/$prjname/htdocs/$prjname/index.php
|
||||||
|
|
||||||
rm -R .build
|
rm -R .build
|
||||||
|
|
Loading…
Reference in a new issue