Quote:
Originally Posted by eschwartz
You should not need pwd in order to tell it to look in the current directory? 
|
I agree, but running it with original script resulted in:
However...
Quote:
Originally Posted by PeterT
Surely it all depends if the path includes ".".
Wouldn't a far simpler solution be
Code:
echo "Starting up Calibre"
# original: calibre --with-library "$CALIBRE_LIBRARY_DIRECTORY"
# below modified to make it portable
./calibre --with-library "$CALIBRE_LIBRARY_DIRECTORY"
|
You are absolutely right. This is indeed far simpler solution and it runs fine.
I have updated my calibre-portable.sh