summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2013-11-29 20:49:16 +0100
committerGuido Günther <agx@sigxcpu.org>2013-11-29 20:49:16 +0100
commit00d830c64630c5133ac37992babfbe2be4bfc149 (patch)
tree1fb8ff3ef8f28744197d87a00ed66bb13ae26159 /bin
parentbc5ce398d19b7a8b6131b8164f4d22fdeff2a88e (diff)
downloadgit-buildpackage-00d830c64630c5133ac37992babfbe2be4bfc149.tar.gz
git-buildpackage-00d830c64630c5133ac37992babfbe2be4bfc149.tar.bz2
git-buildpackage-00d830c64630c5133ac37992babfbe2be4bfc149.zip
Use --distribution instead of --dist
Closes: #730788
Diffstat (limited to 'bin')
-rw-r--r--bin/git-pbuilder4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/git-pbuilder b/bin/git-pbuilder
index 66a6a25d..4024d124 100644
--- a/bin/git-pbuilder
+++ b/bin/git-pbuilder
@@ -224,10 +224,10 @@ update|create|login)
else
if [ "$EXT" = '-backports' ] ; then
OTHERMIRROR="deb $BACKPORTS $DIST$EXT main"
- sudo "$BUILDER" --"$action" --dist "$DIST" \
+ sudo "$BUILDER" --"$action" --distribution "$DIST" \
--othermirror "$OTHERMIRROR" "${OPTIONS[@]}" "$@"
else
- sudo "$BUILDER" --"$action" --dist "$DIST" "${OPTIONS[@]}" "$@"
+ sudo "$BUILDER" --"$action" --distribution "$DIST" "${OPTIONS[@]}" "$@"
fi
fi
exit $?