View Single Post
Old 04-28-2017, 12:46 PM   #6
paperrhino
Junior Member
paperrhino began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Apr 2017
Device: Android
Quote:
Originally Posted by gbm View Post
Looks to me like you could use calibre-portable.sh to do what you need in setting the variables and changing the line"
Code:
$CALIBRE --with-library "${CALIBRE_LIBRARY_DIRECTORY}"
to
Code:
$CALIBRE-SERVER --with-library "${CALIBRE_LIBRARY_DIRECTORY}"
You have it working that all that matters.
bernie

But I already am seeing the environment variables like in the Shell script. And I'm calling calibre-server just like in the Shell script. All of that works.

The problem is when I call the separate program calibredb, this program ignores the environment variables. And since the portable script doesn't mention calibredb at all it is no help.

While I do have it working, it would be nice to know if calibredb is capable of supporting a non-default location for the db file. If calibredb, and calibre-server support this it seems to reason that calibredb should as well.
paperrhino is offline   Reply With Quote