From 18197224eb467e611ba6b65dd388825ced384b2e Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Tue, 3 Oct 2006 11:02:38 +0000 Subject: * fixed problem with perl-scripts not finding their modules in production path * perl-modules are now installed in $SLX_BASE_PATH/lib instead of .../bin, as that's how it's usually done. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@433 95ad53e4-c205-0410-b2fa-d234c58c8868 --- config-db/slxconfig-demuxer.pl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'config-db/slxconfig-demuxer.pl') diff --git a/config-db/slxconfig-demuxer.pl b/config-db/slxconfig-demuxer.pl index 75ee2cd8..74c7fba0 100755 --- a/config-db/slxconfig-demuxer.pl +++ b/config-db/slxconfig-demuxer.pl @@ -1,9 +1,13 @@ #! /usr/bin/perl use strict; -# add the folder this script lives in to perl's search path for modules: +# add the lib-folder and the folder this script lives in to perl's search +# path for modules: use FindBin; -use lib $FindBin::Bin; +use lib "$FindBin::RealBin/../lib"; + # production path +use lib "$FindBin::RealBin"; + # development path use Fcntl qw(:DEFAULT :flock); use File::Basename; -- cgit v1.2.3-55-g7522