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/slxsetup.pl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'config-db/slxsetup.pl') diff --git a/config-db/slxsetup.pl b/config-db/slxsetup.pl index 1d66a50f..8b28cef2 100755 --- a/config-db/slxsetup.pl +++ b/config-db/slxsetup.pl @@ -1,8 +1,12 @@ #! /usr/bin/perl -# 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 OpenSLX::Basics; -- cgit v1.2.3-55-g7522