View Single Post
Old 07-26-2012, 12:30 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,435
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I suggest you create a simple bash script to launch calibre, that way you wont have trouble when/if Apple decides that setting environment variables is not something their users should be allowed to do.

Code:
#!/bin/sh
export CALIBRE_DEVELOP_FROM=whatever
calibre-debug -g
Save this file as /usr/bin/calibre-develop and run
chmod +x /usr/bin/calibre-develop
kovidgoyal is offline   Reply With Quote