summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xexamples/gbp-cowbuilder-sid13
-rwxr-xr-xexamples/gbp-pbuilder9
2 files changed, 7 insertions, 15 deletions
diff --git a/examples/gbp-cowbuilder-sid b/examples/gbp-cowbuilder-sid
index 02d51a14..e4320066 100755
--- a/examples/gbp-cowbuilder-sid
+++ b/examples/gbp-cowbuilder-sid
@@ -1,13 +1,14 @@
#!/bin/bash -e
#
# cowbuilder helper for git-buildpackage
-# use this as builder:
-# git-buildpackage --git-builder=gbp-cowbuilder-sid
#
-# you can use this for other dists like sarge, etch, lenny with a symlink:
-# ln -s gbp-cowbuilder-sid gbp-cowbuilder-lenny
-#
-# and a /etc/pbuilder/pbuilderrc.$DIST
+# This is only left here for compatibility. Better use git-pbuilder instead.
+
+echo "***"
+echo " This script is deprecated."
+echo " Please switch to /usr/bin/git-pbuilder"
+echo " See file:///usr/share/doc/git-buildpackage/manual-html/gbp.special.html#GBP.SPECIAL.PBUILDER"
+echo "***"
DIST=${0/*gbp-cowbuilder-}
ACTION=$1
diff --git a/examples/gbp-pbuilder b/examples/gbp-pbuilder
deleted file mode 100755
index ad36237b..00000000
--- a/examples/gbp-pbuilder
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-#
-# pbuilder helper for git-buildpackage
-# use this as "builder" in gbp.conf
-set -e
-
-# pass all options to dpkg-buildpackage:
-pdebuild $PBUILDER_OPTS --debbuildopts "-i -I $*"
-