[Pkg-gnutls-commits] r67 - /scripts/svn-edit-patch
jamesw-guest at users.alioth.debian.org
jamesw-guest at users.alioth.debian.org
Fri Jun 9 09:26:05 UTC 2006
Author: jamesw-guest
Date: Fri Jun 9 09:26:05 2006
New Revision: 67
URL: http://svn.debian.org/wsvn/pkg-gnutls/?sc=1&rev=67
Log:
Be more conservative about trying to copy the file back, does not cure the empty patch problem
Modified:
scripts/svn-edit-patch
Modified: scripts/svn-edit-patch
URL: http://svn.debian.org/wsvn/pkg-gnutls/scripts/svn-edit-patch?rev=67&op=diff
==============================================================================
--- scripts/svn-edit-patch (original)
+++ scripts/svn-edit-patch Fri Jun 9 09:26:05 2006
@@ -43,12 +43,16 @@
cd $DIR/${SOURCE}-${VERSION}
mkdir -p debian/patches
-touch debian/patches/${1}.patch
+#touch debian/patches/${1}.patch
$CREATEDIFF $1
-mkdir -p ${ORIGDIR}/debian/patches
-cp -f debian/patches/${1}.patch ${ORIGDIR}/debian/patches/
+if [ -f debian/patches/${1}.patch ];then
+
+ mkdir -p ${ORIGDIR}/debian/patches
+ cp -f debian/patches/${1}.patch ${ORIGDIR}/debian/patches/
+
+fi
/bin/rm -rf $DIR
More information about the Pkg-gnutls-commits
mailing list