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
commitca86c5fba8d70e9ea5e06f47f9ec5aa284a23dd0 (patch)
tree703b48574bff45353c2c47400de0dec9a34aee97
parentea0c4c20ffb4b5a6f0497d0e31d91a0d82c29f3e (diff)
gbp-try-ff: don't hardcode debian-branch
-rwxr-xr-xexamples/gbp-try-ff7
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/gbp-try-ff b/examples/gbp-try-ff
index 54c4afef..5f14b44b 100755
--- a/examples/gbp-try-ff
+++ b/examples/gbp-try-ff
@@ -4,9 +4,12 @@
set -e
-git checkout debian/sid
+DB=$(gbp config buildpackage.debian-branch | sed 's/\(.*debian-branch=\)\(.*\)/\2/')
+
+git checkout "${DB}"
gbp pq import --force
-git checkout debian/sid
+git checkout "${DB}"
+
set +e
gbp import-orig --uscan --no-interactive --no-pristine-tar
ret=$?