We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 627255d commit 116f10dCopy full SHA for 116f10d
nancy.in
@@ -3,7 +3,7 @@ package main;
3
4
my $version = <<'END';
5
nancy @Version@
6
-(c) 2002-2020 Reuben Thomas <rrt@sc3d.org>
+(c) 2002-2021 Reuben Thomas <rrt@sc3d.org>
7
https://github.com/rrthomas/nancy/
8
Distributed under the GNU General Public License version 3, or (at
9
your option) any later version. There is no warranty.
@@ -70,10 +70,6 @@ sub find_on_path {
70
my ($path, $file, $root) = @_;
71
my @file = splitdir($file);
72
my @search = @{$path};
73
- while ($file[0] eq "..") {
74
- shift @file;
75
- pop @search;
76
- }
77
for (;; pop @search) {
78
my $thissearch = [@search, @file];
79
my $obj = catfile($root, @{$thissearch});
0 commit comments