[phpBB] svn: r40 - in trunk/phpbb2: . upstream

jeroen at wolffelaar.nl jeroen at wolffelaar.nl
Thu Feb 5 02:58:01 CET 2004


Author: jeroen
Date: 2004-02-05 02:57:00 +0100 (Thu, 05 Feb 2004)
New Revision: 40

Modified:
   trunk/phpbb2/get-orig-source
   trunk/phpbb2/upstream/upstream.info
Log:
Fix errorhandling of get-orig-source, and fix upstream URL


Modified: trunk/phpbb2/get-orig-source
===================================================================
--- trunk/phpbb2/get-orig-source	2004-02-05 01:40:42 UTC (rev 39)
+++ trunk/phpbb2/get-orig-source	2004-02-05 01:57:00 UTC (rev 40)
@@ -8,9 +8,7 @@
 
 echo "***>" Going to make a source tarball for phpBB2
 
-TMPDIR=`mktemp -t phpbb2.debian.XXXXXX`
-rm $TMPDIR
-mkdir $TMPDIR
+TMPDIR=`mktemp -d -t phpbb2.debian.XXXXXX`
 SOURCEDIR=$TMPDIR/phpbb2-$1
 mkdir $SOURCEDIR
 
@@ -22,7 +20,10 @@
 	[ "$Include" != "yes" ] && continue
 	cp $info $SOURCEDIR/$Filename.info
 	echo -n "Downloading... "
-	wget -q -O$SOURCEDIR/$Filename "$Url"
+	if ! wget -q -O$SOURCEDIR/$Filename "$Url"; then
+		echo "failed ($Url)"
+		exit 1
+	fi
 	echo "$Md5  $Filename" >> $SOURCEDIR/md5sums
 	echo done
 done

Modified: trunk/phpbb2/upstream/upstream.info
===================================================================
--- trunk/phpbb2/upstream/upstream.info	2004-02-05 01:40:42 UTC (rev 39)
+++ trunk/phpbb2/upstream/upstream.info	2004-02-05 01:57:00 UTC (rev 40)
@@ -1,5 +1,5 @@
 Filename=phpBB-2.0.6c.tar.bz2
-Url=http://cesnet.dl.sourceforge.net/sourceforge/phpbb/phpBB-2.0.6c.tar.bz2
+Url=http://cesnet.dl.sourceforge.net/sourceforge/phpbb/phpBB-2.0.6.tar.bz2
 Md5=6574f13e2c7b66fda4faf1b2ddacae48
 Copyright=GPL-2
 Include=yes





More information about the phpBB-l mailing list