From f4d94df926ad353f4f4d4e5c04931fa26dd1cc61 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Fri, 21 Aug 2015 02:50:11 +0200 Subject: [PATCH] Update Build Script --- makerelease | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makerelease b/makerelease index 73867d7..99945e3 100644 --- a/makerelease +++ b/makerelease @@ -12,7 +12,7 @@ if [ ! "$?" = "1" ]; then fi 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..." exit 1 fi @@ -101,6 +101,6 @@ echo " $pubfile echo "header(\"Location: http://downloads.sourceforge.net/project/$prjname/release/$version/$prjname\");" >> $pubfile echo "exit;" >> $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