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/slxconfig-demuxer.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/slxconfig-demuxer.pl')
-rwxr-xr-x | config-db/slxconfig-demuxer.pl | 8 |
1 files changed, 6 insertions, 2 deletions
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; |