View Single Post
Old 12-21-2011, 02:30 PM   #3
hairybiker
Banned
hairybiker began at the beginning.
 
Posts: 82
Karma: 10
Join Date: Aug 2009
Device: Tolino Shine 3
I tried :-
Quote:
#!/bin/bash
export CALIBRE_INSTALL_DIR="/opt"&& sudo python -c "import urllib2; exec urllib2.urlopen('http://status.calibre-ebook.com/linux_installer').read();main()"
but again it failed asking for the folder.

But as you say the sudo is stripping the export but I can't sudo export.
Will look at setting it globally.
hairybiker is offline   Reply With Quote