diff options
author | Guido Günther <agx@sigxcpu.org> | 2017-10-23 21:18:18 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2017-10-23 21:25:48 +0200 |
commit | 6fbdb2005c874daff14c4eff6181eddca473e0c8 (patch) | |
tree | c544f184212dc3d82b09db80dfcd13ecef6dbca1 /debian | |
parent | 01da1e61b003aa7cb576fbe5755a665a12c3f2ba (diff) |
pk4: Simplify
Let gbp import-dsc create the repo.
Diffstat (limited to 'debian')
-rw-r--r-- | debian/pk4 | 17 |
1 files changed, 5 insertions, 12 deletions
@@ -1,19 +1,12 @@ #!/bin/sh set -e -if [ ! -d "$2" ]; then - git init "$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 +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 -fi - -cd "$2" -gbp import-dsc "$1" - |