summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2017-11-21 22:19:17 +0100
committerGuido Günther <agx@sigxcpu.org>2017-11-21 22:19:17 +0100
commit9fb94c45f4a7656b227299e93f925d542c0f2097 (patch)
tree72e6b93e551de1e7c74bf5beddbcdfa507afcdd7
parent015f1a714845b66752b7b8c00dbdb910a36098a4 (diff)
gbp-try-ff: don't rely on options from ~/.gbp.conf
-rwxr-xr-xexamples/gbp-try-ff16
1 files changed, 14 insertions, 2 deletions
diff --git a/examples/gbp-try-ff b/examples/gbp-try-ff
index f8cfb409..f7cfc4c5 100755
--- a/examples/gbp-try-ff
+++ b/examples/gbp-try-ff
@@ -7,7 +7,13 @@ set -e
git checkout debian/sid
gbp pq import --force
git checkout debian/sid
-gbp import-orig --uscan --no-interactive
+set +e
+gbp import-orig --uscan --no-interactive --no-pristine-tar
+ret=$?
+set -e
+if [ $ret = 4 ]; then
+ exit 0
+fi
if ! gbp pq rebase; then
echo "Automatic rebase failed"
@@ -17,4 +23,10 @@ fi
gbp pq export --commit
gbp dch -S -a
-gbp buildpackage --git-ignore-new
+gbp buildpackage --git-pbuilder \
+ --git-ignore-new \
+ --git-no-pristine-tar \
+ --git-postbuild='lintian $GBP_CHANGES_FILE' \
+ -nc \
+ ${GBP_BUILDPACKAGE_ARGS}
+