csirac2 / snazzer

btrfs snapshotting and backup system offering snapshot measurement, transport and pruning.
BSD 2-Clause "Simplified" License
89 stars 9 forks source link

Swap out shebangs for /usr/bin/env #27

Closed tylerjl closed 8 years ago

tylerjl commented 8 years ago

Hi @csirac2! I've been looking around for a good btrfs snapshotter and you've made something great here, thanks for all the work on this great project!

This looks like a superfluous PR, I know, but I'm attempting to use snazzer on NixOS which has a non-standard PATH setup, but does honor the env paradigm when needed by shebangs in scripts. This should really be a pretty safe change for existing use cases and make the script usable for environments that don't necessarily have binaries in the paths hard-coded into the shebang.

csirac2 commented 8 years ago

Snazzer is overdue for some TLC, thanks for this PR @tylerjl - very much appreciated.