From e3e99770ed9a3b00b383fbcb4eaf009f0e22ac8c Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Mon, 2 May 2011 21:14:49 -0700 Subject: Fix syntax error with previous commit. --- libpiny/lib/Piny/Repo.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpiny/lib/Piny/Repo.pm b/libpiny/lib/Piny/Repo.pm index b81f9bf..cfe7b1d 100644 --- a/libpiny/lib/Piny/Repo.pm +++ b/libpiny/lib/Piny/Repo.pm @@ -395,7 +395,7 @@ sub create { system( "/usr/bin/git", "init", "--template=/srv/git-template.git", "--quiet", "--shared" ) and die "Could not initialize git repo!"; foreach( "git-daemon-export-ok", "packed-refs" ) { - unless( -e $s->path . "/" . $_ ) { + unless( -e $repo->path . "/" . $_ ) { open( TOUCH, ">", $repo->path . "/" . $_ ) or die "Could not touch $_ for repo: $!"; close( TOUCH ); }; -- cgit v1.2.3