From: Matt S Trout Date: Tue, 26 Aug 2014 13:51:09 +0000 (+0000) Subject: rename variable $buildpath -> $build_path X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3f8c59dbbe577b7bc9e014567ff8be8dc971a624;p=scpubgit%2FApp-SCS.git rename variable $buildpath -> $build_path --- diff --git a/lib/App/SCS/PageSet.pm b/lib/App/SCS/PageSet.pm index 208772c..f5b9e5e 100644 --- a/lib/App/SCS/PageSet.pm +++ b/lib/App/SCS/PageSet.pm @@ -67,16 +67,15 @@ sub _config_files_for { my @files = (); my @dirs = io->dir($path)->splitdir; - shift @dirs; pop @dirs; - my $buildpath = io(''); + my $build_path = io(''); foreach my $dir (@dirs) { - $buildpath = $buildpath->catdir("/$dir"); + $build_path = $build_path->catdir("/$dir"); #/home/.../share/pages/blog.conf etc - my $file = $self->_top_dir->catfile("$buildpath.conf"); + my $file = $self->_top_dir->catfile("$build_path.conf"); if (!$file->exists || !$file->file || $file->empty) { next;