diff options
author | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2010-10-16 01:38:22 -0700 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2010-10-16 01:38:22 -0700 |
commit | 977abfe1ccbeefd3e83f3569dabda7dcd04b1998 (patch) | |
tree | d8ddbc4294c19302e7987323322ebd11ea98fa28 /usr/src/libpiny | |
parent | f5d259ca30d8c9833002479eb881de415401ddd3 (diff) | |
download | piny-code-977abfe1ccbeefd3e83f3569dabda7dcd04b1998.tar.gz piny-code-977abfe1ccbeefd3e83f3569dabda7dcd04b1998.zip |
Fixing more dumb mistakes.
Diffstat (limited to 'usr/src/libpiny')
-rw-r--r-- | usr/src/libpiny/lib/Piny/Repo.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/libpiny/lib/Piny/Repo.pm b/usr/src/libpiny/lib/Piny/Repo.pm index 54d40ad..0c8de36 100644 --- a/usr/src/libpiny/lib/Piny/Repo.pm +++ b/usr/src/libpiny/lib/Piny/Repo.pm @@ -273,7 +273,7 @@ sub destroy { my $temp = File::Temp->new( ) or die "Could not create temporary file: $!"; $temp->unlink_on_destroy( 0 ); - $dh = IO::Dir->new( "/etc/ikiwiki/wikilist.d" ) or die "Could not open wikilist.d directory: $!"; + my $dh = IO::Dir->new( "/etc/ikiwiki/wikilist.d" ) or die "Could not open wikilist.d directory: $!"; while ( defined ( my $entry = $dh->read ) ) { next if ( $entry =~ /^\./ ); open( FILE, "<", "/etc/ikiwiki/wikilist.d/" . $entry ) or die "Could not open wikilist.d entry $entry: $!"; |