diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-08-14 14:19:20 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-08-14 18:35:02 +0100 |
commit | d70125efdeac7580a1d6a7cb5abb303e649619a1 (patch) | |
tree | e19c38037cea44657e36e979e58e70c93f38986f /dgit | |
parent | 87b18ec0382a4191a65e935d55c9ac4543a3d376 (diff) |
Convert to defvalopt: --build-products-dir
Diffstat (limited to 'dgit')
-rwxr-xr-x | dgit | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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; |