summaryrefslogtreecommitdiff
path: root/libpiny/lib
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@omgwallhack.org>2011-05-02 21:14:49 -0700
committerJoe Rayhawk <jrayhawk@omgwallhack.org>2011-05-02 21:14:49 -0700
commite3e99770ed9a3b00b383fbcb4eaf009f0e22ac8c (patch)
treeaf80963a9bbe61a832c61437d4bae2adf3953531 /libpiny/lib
parente8a45817104834f42bdf039c4466569f23f675d1 (diff)
downloadpiny-code-e3e99770ed9a3b00b383fbcb4eaf009f0e22ac8c.tar.gz
piny-code-e3e99770ed9a3b00b383fbcb4eaf009f0e22ac8c.zip
Fix syntax error with previous commit.
Diffstat (limited to 'libpiny/lib')
-rw-r--r--libpiny/lib/Piny/Repo.pm2
1 files changed, 1 insertions, 1 deletions
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 );
};