[Bps-public-commit] r12955 - in Shipwright/trunk: lib/Shipwright/Script
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Fri Jun 6 05:17:21 EDT 2008
Author: sunnavy
Date: Fri Jun 6 05:17:21 2008
New Revision: 12955
Modified:
Shipwright/trunk/ (props changed)
Shipwright/trunk/lib/Shipwright/Script/Import.pm
Log:
r13045 at sunnavys-mb: sunnavy | 2008-06-06 17:12:34 +0800
. char is valid char in dist names now
Modified: Shipwright/trunk/lib/Shipwright/Script/Import.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Script/Import.pm (original)
+++ Shipwright/trunk/lib/Shipwright/Script/Import.pm Fri Jun 6 05:17:21 2008
@@ -83,8 +83,8 @@
$name =~ s/::/-/g;
$self->name($name);
}
- if ( $self->name !~ /^[-\w]+$/ ) {
- die 'name can only have alphanumeric characters and -';
+ if ( $self->name !~ /^[-.\w]+$/ ) {
+ die 'name can only have alphanumeric characters, "." and "-"';
}
}
@@ -386,7 +386,7 @@
--log-file specify the log file
--comment(-m) specify the comment
--source(-s) specify the source path
- --name specify the source name( only alphanumeric characters and - )
+ --name specify the source name( only alphanumeric characters, . and - )
--build-script specify the build script
--require-yml specify the require.yml
--follow follow the dependent chain or not
More information about the Bps-public-commit
mailing list