diff options
author | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2010-03-17 20:12:16 -0700 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2010-03-17 20:12:16 -0700 |
commit | 5d8181b24e6beed6a3fce863a6093bc6a8f0b3ed (patch) | |
tree | f4f8a13f886586477e222196e8e663971e061403 /usr/local/sbin/rmrepo | |
parent | 63ff3bdf9a2fd1967380ad7602d0ce4e44a4d432 (diff) | |
parent | 5361765cf9ba71e8c7a2d676922c2ce0d750050f (diff) | |
download | piny-code-5d8181b24e6beed6a3fce863a6093bc6a8f0b3ed.tar.gz piny-code-5d8181b24e6beed6a3fce863a6093bc6a8f0b3ed.zip |
Merge branch 'master' of piny.be:/srv/git/piny-code
Diffstat (limited to 'usr/local/sbin/rmrepo')
-rwxr-xr-x | usr/local/sbin/rmrepo | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/sbin/rmrepo b/usr/local/sbin/rmrepo index 5c67339..864830f 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 { |