diff options
author | jrayhawk+piny.be@omgwallhack.org <jrayhawk+piny.be@omgwallhack.org> | 2011-04-27 19:02:51 -0700 |
---|---|---|
committer | jrayhawk+piny.be@omgwallhack.org <jrayhawk+piny.be@omgwallhack.org> | 2011-04-27 19:02:51 -0700 |
commit | b3e1b1478f86ceaa76e1c67ef4c25cc285508886 (patch) | |
tree | 31387f71b7111d5c003e72ffab8a11ab66e08661 /libpiny/lib/Piny/Repo.pm | |
parent | 2d93fcaec5a756d3cec9a188c4bd22fa116df9a1 (diff) | |
download | piny-code-b3e1b1478f86ceaa76e1c67ef4c25cc285508886.tar.gz piny-code-b3e1b1478f86ceaa76e1c67ef4c25cc285508886.zip |
Removing bizarre attempt to mkdir and chown a relative $ikiwiki->user
Diffstat (limited to 'libpiny/lib/Piny/Repo.pm')
-rw-r--r-- | libpiny/lib/Piny/Repo.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpiny/lib/Piny/Repo.pm b/libpiny/lib/Piny/Repo.pm index 62f3d4d..b2fbd2d 100644 --- a/libpiny/lib/Piny/Repo.pm +++ b/libpiny/lib/Piny/Repo.pm @@ -249,7 +249,7 @@ sub rebuild { system( "/usr/bin/git", "clone", "--quiet", $s->path, $s->ikiwiki_srcdir ) and die "Could not clone repo to ikiwiki srcdir!"; }; - foreach( $ikiuser->name, $s->ikiwiki_srcdir, $s->ikiwiki_destdir, $s->secure_path ) { + foreach( $s->ikiwiki_srcdir, $s->ikiwiki_destdir, $s->secure_path ) { unless( -d $_ ) { mkdir( $_ ) }; system( "/bin/chown", "-R", $ikiuser->name . ".", $_ ) and die "Could not change ownership of ikiwiki directories!"; }; |