msgbartop
Blog di Dino Ciuffetti (Bernardino in realtà)
msgbarbottom

08 Set 11 orientdb.sh: line 52: return: can only `return’ from a function or sourced script

If you are using the powerful orientdb engine on linux/unix you may catch the following error when executing bin/orientdb.sh:

./orientdb.sh: line 52: return: can only `return’ from a function or sourced script

This is because of bash that does not permit the use of “return” from the main script body.
I prepared (and published to the orientdb list) a small patch that you can use if you don’t want to recompile the entire orientdb engine to solve this simple problem.

The problem it’s solved in SVN revision 3804 or greater.

orientdb.sh.patch.gz

Lascia un commento

*