summaryrefslogtreecommitdiff
path: root/git-interface/git-serve.py
diff options
context:
space:
mode:
Diffstat (limited to 'git-interface/git-serve.py')
-rwxr-xr-xgit-interface/git-serve.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-interface/git-serve.py b/git-interface/git-serve.py
index 5aa44c3..cfd3e34 100755
--- a/git-interface/git-serve.py
+++ b/git-interface/git-serve.py
@@ -135,7 +135,7 @@ if action == 'git-upload-pack' or action == 'git-receive-pack':
die('%s: invalid path: %s' % (action, path))
pkgbase = path[1:-4]
if not re.match(repo_regex, pkgbase):
- die('%s: invalid repository name: %s' % (action, repo))
+ die('%s: invalid repository name: %s' % (action, pkgbase))
if not pkgbase_exists(pkgbase):
create_pkgbase(pkgbase, user)