From a24383e2b312f697e1665c656e2208f6ba42ba15 Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Wed, 21 Oct 2009 17:49:10 -0700 Subject: Remove support for periods in reponames since they cause problems. --- usr/local/sbin/rmrepo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local/sbin/rmrepo') diff --git a/usr/local/sbin/rmrepo b/usr/local/sbin/rmrepo index 5c67339..ad84e1b 100755 --- a/usr/local/sbin/rmrepo +++ b/usr/local/sbin/rmrepo @@ -5,7 +5,7 @@ use warnings; my( $reponame, $uid, $gitowner, $wikilisttempfile, $cgitrctempfile); -if ( ( ! scalar $ARGV[0] ) or ( scalar $ARGV[1] ) or ( $ARGV[0] !~ /^[a-z0-9][a-z0-9+.-]+$/ ) ) { +if ( ( ! scalar $ARGV[0] ) or ( scalar $ARGV[1] ) or ( $ARGV[0] !~ /^[a-z0-9][a-z0-9+-]+$/ ) ) { print( "Usage: rmrepo REPONAME\n" ); exit( 1 ); } else { -- cgit v1.2.3