aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2015-09-06 18:40:56 +0200
committerGuido Günther <agx@sigxcpu.org>2015-09-06 18:51:17 +0200
commitcf69c463fbbfd31e2be0430219694ed401206119 (patch)
treeab2423bb45106173710f44fe417218dadda8025b /examples
parent45a5d080b8126cd83cd1f6f324e6c8c87bda011b (diff)
Remove gbp-cowbuilder-sid
git-pbuilder replaced it ages ago
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/gbp-cowbuilder-sid39
1 files changed, 0 insertions, 39 deletions
diff --git a/examples/gbp-cowbuilder-sid b/examples/gbp-cowbuilder-sid
deleted file mode 100755
index e4320066..00000000
--- a/examples/gbp-cowbuilder-sid
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/bash -e
-#
-# cowbuilder helper for git-buildpackage
-#
-# 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
-
-CONF=/etc/pbuilder/pbuilderrc.$DIST
-WA_OPT='--debian-etch-workaround'
-
-case $DIST in
- sarge*|etch*)
- echo "`basename $0`: Using $WA_OPT"
- OPTS="$OPTS $WA_OPT"
- ;;
-esac
-
-case $ACTION in
- update|create|login)
- sudo cowbuilder --$ACTION --configfile=${CONF} --dist $DIST
- ;;
- *)
- # pass all options to dpkg-buildpackage:
- pdebuild --configfile ${CONF} \
- --pbuilder cowbuilder \
- --buildresult ${GBP_BUILD_DIR}/.. \
- --debbuildopts "-i -I $*" \
- -- $OPTS
- ;;
-esac
-