diff options
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; |