File: gbp

package info (click to toggle)
git-buildpackage 0.9.30
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 8,700 kB
  • sloc: python: 18,390; xml: 8,558; sh: 698; makefile: 123
file content (12 lines) | stat: -rwxr-xr-x 391 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
set -e

gbp import-dsc --debian-branch=pk4 --upstream-branch=upstream "$1" "$2"
# Add local gbp.conf to override any branch settings in 'debian/gbp.conf'
# (since this checkout wasn't created by "gbp clone"). We want to be sure the
# branches exist so we can build the package right away.
cat <<EOF > "$2"/.git/gbp.conf
[DEFAULT]
upstream-branch = upstream
debian-branch = pk4
EOF