From f106cbf23be88dc35a0a1d51ef5c43e0622ce6b1 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Thu, 20 Aug 2015 23:24:44 +0200 Subject: [PATCH] update --- makerelease | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/makerelease b/makerelease index 803cfdc..0dbff1c 100644 --- a/makerelease +++ b/makerelease @@ -76,12 +76,12 @@ sed -i "/baseurl=/c\baseurl=http://downloads.sourceforge.net/project/archdi/rele echo "Publish release..." scp -r $targetpath matmoul@web.sourceforge.net:/home/frs/project/$prjname/release/pkg/ -#echo "Update redirect page..." -#pubfile=.build/index.php -#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/ +echo "Update redirect page..." +pubfile=.build/index.php +echo " $pubfile +echo "header(\"Location: http://downloads.sourceforge.net/project/$prjname/release/pkg/$version/lib\");" >> $pubfile +echo "exit;" >> $pubfile +echo "?>" >> $pubfile +scp -r $pubfile matmoul@web.sourceforge.net:/home/project-web/$prjname/htdocs/$prjname-lib/ rm -R .build