Feh / nocache

minimize caching effects
BSD 2-Clause "Simplified" License
554 stars 53 forks source link

Adjust the script so it can work from any directory #6

Closed paulharris closed 11 years ago

paulharris commented 11 years ago

Use the shell script's directory as the location to look for the preload .so file.

Feh commented 11 years ago

Thank you for the patch! In general I think this is a good idea; however, I think the script should not output anything unless needed. Could you maybe re-roll your patch with just something like this?

libnocache="$(dirname "$0")/nocache.so"

That would be nice, thanks.