[phpBB] svn: r78 - trunk/phpbb2

jeroen at wolffelaar.nl jeroen at wolffelaar.nl
Mon Mar 15 20:30:01 CET 2004


Author: jeroen
Date: 2004-03-15 20:29:54 +0100 (Mon, 15 Mar 2004)
New Revision: 78

Modified:
   trunk/phpbb2/export-sources
   trunk/phpbb2/get-orig-source
   trunk/phpbb2/rules
Log:
Fix up export-sources, posix sh again, and works again


Modified: trunk/phpbb2/export-sources
===================================================================
--- trunk/phpbb2/export-sources	2004-03-15 17:40:45 UTC (rev 77)
+++ trunk/phpbb2/export-sources	2004-03-15 19:29:54 UTC (rev 78)
@@ -17,9 +17,13 @@
 cd export-sources.dir
 
 echo Exporting...
+mkdir tmp
+cd tmp
 svn export http://svn.wolffelaar.nl/phpbb/$1 debian
 debian/rules get-orig-source
+cd ..
 tar xzvf phpbb2_*.orig.tar.gz
-mv debian phpbb2-*
+mv tmp/debian phpbb2-*
+rmdir tmp
 dpkg-source -b phpbb2-*
 

Modified: trunk/phpbb2/get-orig-source
===================================================================
--- trunk/phpbb2/get-orig-source	2004-03-15 17:40:45 UTC (rev 77)
+++ trunk/phpbb2/get-orig-source	2004-03-15 19:29:54 UTC (rev 78)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 # $Id$
 
 # Copyright 2004 Jeroen van Wolffelaar <jeroen at wolffelaar.nl>
@@ -29,10 +29,10 @@
 done
 
 echo "***>" Checking md5sums...
-{
-	cd $SOURCEDIR
-	md5sum -c md5sums
-}
+OLDWD="`pwd`"
+cd $SOURCEDIR
+md5sum -c md5sums
+cd "$OLDWD"
 
 echo "***>" Creating tarball...
 NEW=`mktemp phpbb2_$1.orig.tar.gz.XXXXXX` 

Modified: trunk/phpbb2/rules
===================================================================
--- trunk/phpbb2/rules	2004-03-15 17:40:45 UTC (rev 77)
+++ trunk/phpbb2/rules	2004-03-15 19:29:54 UTC (rev 78)
@@ -17,6 +17,7 @@
 
 get-orig-source:
 	debian/get-orig-source $(UPSTREAM_VERSION)
+	mv phpbb2_$(UPSTREAM_VERSION).orig.tar.gz ..
 
 # Extract sources from the tarball and apply all upstream patches (aka mods)
 source: source-upstream-stamp source-patch-stamp





More information about the phpBB-l mailing list