From cd0dbda115ef37e56adfc1095079d8370940b444 Mon Sep 17 00:00:00 2001 From: Jon duSaint Date: Thu, 14 Sep 2023 09:04:32 -0700 Subject: reolink: Fix local import path Derp error caused the local module not to be imported when --debug was specified. --- reolink/reolink | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'reolink') diff --git a/reolink/reolink b/reolink/reolink index 0ce9ab4..453f203 100755 --- a/reolink/reolink +++ b/reolink/reolink @@ -130,7 +130,7 @@ BEGIN { my $wd = File::Spec->rel2abs ($0); $wd =~ s|/[^/]+$||; if (-f "$wd/Reolink.pm") { - push @INC, $wd; + unshift @INC, $wd; } require Reolink; Reolink->import(); -- cgit v1.2.3