summaryrefslogtreecommitdiff
path: root/usr/local/sbin/rmrepo
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk+piny.be@omgwallhack.org>2009-10-21 17:49:10 -0700
committerJoe Rayhawk <jrayhawk+piny.be@omgwallhack.org>2009-10-21 17:49:10 -0700
commita24383e2b312f697e1665c656e2208f6ba42ba15 (patch)
treeb0f1c2e651fc4bb523ffed750f85598dafdf056a /usr/local/sbin/rmrepo
parent9b531adbcaa807a352d14b68b70ed125e285d056 (diff)
downloadpiny-code-a24383e2b312f697e1665c656e2208f6ba42ba15.tar.gz
piny-code-a24383e2b312f697e1665c656e2208f6ba42ba15.zip
Remove support for periods in reponames since they cause problems.
Diffstat (limited to 'usr/local/sbin/rmrepo')
-rwxr-xr-xusr/local/sbin/rmrepo2
1 files changed, 1 insertions, 1 deletions
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 {