diff --git a/sbin/preload.perl b/sbin/preload.perl index 1d2cf228b..4e54f6820 100644 --- a/sbin/preload.perl +++ b/sbin/preload.perl @@ -2,7 +2,9 @@ use strict; my $webguiRoot = '/data/WebGUI'; -@INC = "$webguiRoot/lib", grep { $_ ne q{.} } @INC; +@INC = grep { $_ ne q{.} } @INC; + +unshift @INC, "$webguiRoot/lib"; # add custom lib directories to library search path unshift @INC, grep {