summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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=$?