From 7603568358fd31455de539bf45445df9c64b04ea Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 14 Dec 2016 18:03:32 +0000 Subject: [PATCH] found --- TODO.BRANCH | 23 +++++++++++++++++++++++ dgit | 11 +++++------ 2 files changed, 28 insertions(+), 6 deletions(-) create mode 100644 TODO.BRANCH diff --git a/TODO.BRANCH b/TODO.BRANCH new file mode 100644 index 00000000..0cd17694 --- /dev/null +++ b/TODO.BRANCH @@ -0,0 +1,23 @@ + AUTO_DEBSIGN=no + + DEBBUILDOPTS= + The options given here will be passed on to dpkg-buildpackage. + This can be useful e.g. for binary-only builds. The command-line + option --debbuildopts will be appended to any contents specified + here but may also be used to reset the list of options. + + PBUILDERROOTCMD=sudo -E + This option is used on invocation of pbuilder build in pdebuild + +ooo + --configfile (is this a shell script) + --dumpconfig + +support all after arguments + +dgit after arguments + -S et al + +how to find build result + --buildresult + BUILDRESULT=/var/cache/pbuilder/result/ diff --git a/dgit b/dgit index 51a8271b..b732c761 100755 --- a/dgit +++ b/dgit @@ -6256,16 +6256,15 @@ sub pb_arg_val ($) { sub cmd_pbuild { my $ar = qr{(?:=(.*))?$}; + my $pbuilder_distro = while (@ARGV) { $_ = shift @ARGV; - if (m/^--/) { - if (pb_arg_val qr{basetgz|buildplace}) { - push @pb_opts, $pbuild_opt, $pbuild_arg; - } elsif (m/^--buildresult$ar/o) { - $buildproductsdir //= $pbuild_arg; - } + if (pb_larg_val qr{--buildresult}) { + $buildproductsdir //= $pbuild_arg; + } els external_binbuilder { + push @pbuild_opts, --buildresult runcmd_ordryrun_local @sbuild, qw(-d), $isuite, @pbuild_opts, $dscfn; }, ""; } -- 2.30.2