5f01cc70d3
Fixes issues introduced by 24ef871e6a1c858af3f9984a5b526c83b24520ed. The problem here is that "import sys; sys.argv[0] = ..." is just appended after the first "#!", which in turn breaks things such as encoding specifications. A second problem - although not very common - is when there's another #! within the script. This should take care of both cases. Signed-off-by: aszlig <aszlig@redmoonstudios.org> |
||
---|---|---|
doc | ||
lib | ||
maintainers/scripts | ||
nixos | ||
pkgs | ||
.gitignore | ||
.version | ||
COPYING | ||
default.nix | ||
README.md |