diff options
author | Oliver Tappe | 2006-10-03 13:02:38 +0200 |
---|---|---|
committer | Oliver Tappe | 2006-10-03 13:02:38 +0200 |
commit | 18197224eb467e611ba6b65dd388825ced384b2e (patch) | |
tree | 6368fd987c09dd33e878322a02bc6a50b9205e42 /config-db/slxsetup.pl | |
parent | Small fix: suppress error output of tftp client. (diff) | |
download | core-18197224eb467e611ba6b65dd388825ced384b2e.tar.gz core-18197224eb467e611ba6b65dd388825ced384b2e.tar.xz core-18197224eb467e611ba6b65dd388825ced384b2e.zip |
* 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
Diffstat (limited to 'config-db/slxsetup.pl')
-rwxr-xr-x | config-db/slxsetup.pl | 8 |
1 files changed, 6 insertions, 2 deletions
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; |