diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2013-01-02 13:16:49 +0100 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2013-01-02 13:16:49 +0100 |
commit | a4ae025dbd628fb0c816a0e7c9b1b37c2feaf303 (patch) | |
tree | 1f75216aab1f2c4283e82b57316ee0fe9de0c0e5 /extensions | |
parent | Bug 825431: List::MoreUtils older than 0.27_04 leaks memory when using part() (diff) | |
download | bugzilla-a4ae025dbd628fb0c816a0e7c9b1b37c2feaf303.tar.gz bugzilla-a4ae025dbd628fb0c816a0e7c9b1b37c2feaf303.tar.bz2 bugzilla-a4ae025dbd628fb0c816a0e7c9b1b37c2feaf303.zip |
Bug 825781: extensions/create.pl should capitalize the name of the new extension automatically instead of complaining
r=glob a=LpSolit
Diffstat (limited to 'extensions')
-rwxr-xr-x | extensions/create.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/create.pl b/extensions/create.pl index c48f60df8..e5a436845 100755 --- a/extensions/create.pl +++ b/extensions/create.pl @@ -20,6 +20,7 @@ use File::Path qw(mkpath); my $base_dir = bz_locations()->{'extensionsdir'}; my $name = $ARGV[0] or ThrowUserError('extension_create_no_name'); +$name = ucfirst($name); if ($name !~ /^[A-Z]/) { ThrowUserError('extension_first_letter_caps', { name => $name }); } |