]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_getopt.pl
r151: Initial Import
[debhelper.git] / dh_getopt.pl
index b1dcf7b185423a6c86bc2f9d0a895c13bf3338bf..4d1d39039567294d2f7dddc55b2c55d996aa20a1 100755 (executable)
@@ -27,10 +27,6 @@ my %options=Dh_Getopt::parseopts();
 $options{DOPACKAGES}=join " ",@{$options{DOPACKAGES}};
 if ($#{$options{EXCLUDE}} > -1) {
        $options{EXCLUDE_GREP}=join '|', @{$options{EXCLUDE}};
-       foreach (@{$options{EXCLUDE}}) {
-               $options{EXCLUDE_FIND}.="-regex .*".quotemeta($_).".* -or ";
-       }
-       $options{EXCLUDE_FIND}=~s/ -or $//;
 }
 $options{EXCLUDE}=join " ",@{$options{EXCLUDE}};