[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: prepare-company-database.pl

Hi Marjan,

If you're fixing the "prepare-company-database.pl" script, can you relieve
the requirement of running from the LSMB source dir?

# ./prepare-company-database.pl
Can't locate LedgerSMB/Database.pm in @INC (you may need to install the LedgerSMB::Database module)

If you mean you want to be able to run it from the tools/ directory, or maybe any other directory while the script itself is still in the source tree's tools/ directory, then sure. No problem. I'll have a look at that.

If you mean you want to be able to copy the script anywhere and have it run properly, then that'll be harder, because the script uses the LedgerSMB libraries to achieve its goals (ensuring that we use *tested* code, hopefully preventing issues like you had with prepare-company-database.sh...).



http://efficito.com -- Hosted accounting and ERP.
Robust and Flexible. No vendor lock-in.
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
Ledger-smb-users mailing list