summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2015-08-14 14:19:20 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2015-08-14 18:35:02 +0100
commitd70125efdeac7580a1d6a7cb5abb303e649619a1 (patch)
treee19c38037cea44657e36e979e58e70c93f38986f /dgit
parent87b18ec0382a4191a65e935d55c9ac4543a3d376 (diff)
Convert to defvalopt: --build-products-dir
Diffstat (limited to 'dgit')
-rwxr-xr-xdgit4
1 files changed, 1 insertions, 3 deletions
diff --git a/dgit b/dgit
index 5215a5a..5baa5b5 100755
--- a/dgit
+++ b/dgit
@@ -3125,6 +3125,7 @@ sub defvalopt ($$$$) {
defvalopt '--since-version', '-v', '[^_]+|_', \$changes_since_version;
defvalopt '--distro', '-d', '.+', \$idistro;
defvalopt '--existing-package','', '.*', \$existing_package;
+defvalopt '--build-products-dir','','.*', \$buildproductsdir;
defvalopt '--initiator-tempdir','','.*', sub {
($initiator_tempdir) = (@_);
@@ -3194,9 +3195,6 @@ sub parseopts () {
($om = $opts_opt_map{$1})) {
push @ropts, $_;
push @$om, $2;
- } elsif (m/^--build-products-dir=(.*)/s) {
- push @ropts, $_;
- $buildproductsdir = $1;
} elsif (m/^--clean=($cleanmode_re)$/os) {
push @ropts, $_;
$cleanmode = $1;