Permalink
Browse files

add package quals

  • Loading branch information...
1 parent 4479bb4 commit 59e4d959e6d13af23e5a5216e9c4216b6f843a9c @sitaramc sitaramc committed Aug 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/commands/git-annex-shell
View
4 src/commands/git-annex-shell
@@ -28,7 +28,7 @@ die "bad git-annex-shell command: $cmd"
my $start = $1;
my $repo = $2;
my $end = $3;
-die "I dont like some of the characters in $repo\n" unless $repo =~ $REPONAME_PATT;
+die "I dont like some of the characters in $repo\n" unless $repo =~ $Gitolite::Rc::REPONAME_PATT;
die "I dont like absolute paths in $cmd\n" if $repo =~ /^\//;
die "I dont like '..' paths in $cmd\n" if $repo =~ /\.\./;
@@ -52,7 +52,7 @@ $ENV{GIT_ANNEX_SHELL_LIMITED} = 1;
# Instead it is passed as a single parameter to git-annex-shell for
# it to parse and handle the command. This is why we do not need to
# fully validate $cmd above.
-gl_log( $ENV{SSH_ORIGINAL_COMMAND} );
+Gitolite::Common::gl_log( $ENV{SSH_ORIGINAL_COMMAND} );
exec "git-annex-shell", "-c", $newcmd;
__END__

0 comments on commit 59e4d95

Please sign in to comment.