X-Git-Url: https://git.rapsys.eu/acme/blobdiff_plain/b8394ca77f165a8862ab2055ba1b8ae472b2b901..834ba74c4170b5fe54d148ba9f0a197c08460f5a:/letsconf diff --git a/letsconf b/letsconf index e4b70cf..72e7a11 100755 --- a/letsconf +++ b/letsconf @@ -48,7 +48,7 @@ my $prod = 0; # Strip and enable debug for (my $i = 0; $i <= $#ARGV; $i++) { # Match redhat types - if ($ARGV[$i] =~ /^(?:(\-d|\-\-redhat)(?:=([^-][a-zA-Z0-9_\.,-]+))?)$/) { + if ($ARGV[$i] =~ /^(?:(\-r|\-\-redhat)(?:=([^-][a-zA-Z0-9_\.,-]+))?)$/) { if (defined($2)) { push(@redhat, split(',', $2)); # Extract next parameter @@ -60,7 +60,7 @@ for (my $i = 0; $i <= $#ARGV; $i++) { push(@redhat, ('example.com')); } # Match debian types - } elsif ($ARGV[$i] =~ /^(?:(\-r|\-\-debian)(?:=([^-][a-zA-Z0-9_\.,-]+))?)$/) { + } elsif ($ARGV[$i] =~ /^(?:(\-d|\-\-debian)(?:=([^-][a-zA-Z0-9_\.,-]+))?)$/) { if (defined($2)) { push(@debian, split(',', $2)); # Extract next parameter