[Build-common-hackers] Bug#344383: Patch for bug #344383
(cdbs-edit-patch should create debian/patches if necessary)
Nelson A. de Oliveira
naoliv at gmail.com
Sat Jan 7 06:00:48 UTC 2006
tags 344383 + patch
thanks
Hi!
The above patch works for me:
--- cdbs-edit-patch 2006-01-07 03:26:07.350686304 -0200
+++ cdbs-edit-patch.new 2006-01-07 03:58:26.221933072 -0200
@@ -19,6 +19,9 @@
ORIGDIR=$(basename $(pwd))
NEWDIR=$ORIGDIR.new
+# create debian/patches dir if it doesn't exist
+[ -e "debian/patches/" ] || mkdir -p debian/patches/
+
# create clean source package in temporary dir
cp -a . $TMP/$ORIGDIR
cd $TMP/$ORIGDIR
Nelson
More information about the Build-common-hackers
mailing list