diff options
Diffstat (limited to 'debian/pk4')
-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" - |