Feh / nocache

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

added -n option to nocache.global + 2 mods #10

Closed noushi closed 11 years ago

noushi commented 11 years ago

added BASEDIR to nocache.global (modifiable by sed) simplified LD_PRELOAD declaration

Feh commented 11 years ago

Thanks, I overlooked the -n option for the global case. This is maybe a good moment to merge the two shell scripts and have an install target that uses sed to alter the basedir for a global install. – Or what do you think?

noushi commented 11 years ago

You're welcome. :) I think it's better to keep them separate, as you would use cwd (./) in LD_PRELOAD which could be a security liability in the future. as @onlyjob did, you could rename nocache.global to nocache.in and use sed or even m4 or autotools to specify everything in one go through ./configure . cheers, Reda

Feh commented 11 years ago

Thanks!

noushi commented 11 years ago

you're welcome, Julius :)