[Bps-public-commit] r12234 -
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Mon May 12 06:40:36 EDT 2008
Author: sunnavy
Date: Mon May 12 06:40:34 2008
New Revision: 12234
Modified:
/ (props changed)
Shipwright/trunk/lib/Shipwright/Script.pm
Log:
r12239 at sunnavys-mb: sunnavy | 2008-05-12 12:58:48 +0800
better --repository arg check
Modified: Shipwright/trunk/lib/Shipwright/Script.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Script.pm (original)
+++ Shipwright/trunk/lib/Shipwright/Script.pm Mon May 12 06:40:34 2008
@@ -23,7 +23,7 @@
}
# all the cmds need --repository arg
- unless ( $ARGV[0] ne 'help' && grep { /-r|--repository/ } @ARGV ) {
+ unless ( $ARGV[0] ne 'help' && grep { /^(-r|--repository)$/ } @ARGV ) {
unshift @ARGV, 'help';
}
More information about the Bps-public-commit
mailing list