rev 4642 - scripts
Pierre Habouzit
madcoder at costa.debian.org
Sun Oct 8 20:30:55 UTC 2006
Author: madcoder
Date: 2006-10-08 20:30:55 +0000 (Sun, 08 Oct 2006)
New Revision: 4642
Modified:
scripts/create-buildprep
Log:
adapt it for quilt-managed packages.
Modified: scripts/create-buildprep
===================================================================
--- scripts/create-buildprep 2006-10-08 20:28:48 UTC (rev 4641)
+++ scripts/create-buildprep 2006-10-08 20:30:55 UTC (rev 4642)
@@ -41,6 +41,11 @@
# remove the current buildprep patch
test -e $DIRNAME/debian/patches/98_buildprep.diff && rm $DIRNAME/debian/patches/98_buildprep.diff
+# using quilt ?
+if [ -f $DIRNAME/debian/patches/series ]; then
+ grep -v 98_buildprep.diff $DIRNAME/debian/patches/series > $DIRNAME/debian/patches/series.tmp
+ mv $DIRNAME/debian/patches/series.tmp $DIRNAME/debian/patches/series
+fi
# run the buildprep
cd $DIRNAME && fakeroot debian/rules buildprep
More information about the pkg-kde-commits
mailing list