diff options
author | Profpatsch <mail@profpatsch.de> | 2019-12-08 02:41:07 +0100 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2019-12-08 02:41:07 +0100 |
commit | c3a65d130c211b2a1cfc699da64200afdb86a3f9 (patch) | |
tree | e6d2b221265aab06f5c81f52f3932a6f7ca9309c /pkgs/profpatsch | |
parent | 3cd2df8f8eb3a63a5e8823ca094785589d4039df (diff) |
pkgs/profpatsch/execline: use -W instead of EXECLINE_STRICT
EXECLINE_STRICT does not apply to the `execlineb` command itself, so we don’t get any errors if the nesting is incorrect. `-W` does set it for `execlineb` however.
Diffstat (limited to 'pkgs/profpatsch')
-rw-r--r-- | pkgs/profpatsch/execline/write-execline.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/profpatsch/execline/write-execline.nix b/pkgs/profpatsch/execline/write-execline.nix index 52c72ed5..c2128ea3 100644 --- a/pkgs/profpatsch/execline/write-execline.nix +++ b/pkgs/profpatsch/execline/write-execline.nix @@ -6,8 +6,7 @@ let # Everything is escaped correctly. # TODO upstream into nixpkgs writeExeclineCommon = writer: name: { readNArgs ? 0 }: argList: writer name '' - #!${execlineb-with-builtins}/bin/execlineb -s${toString readNArgs} - export EXECLINE_STRICT 2 + #!${execlineb-with-builtins}/bin/execlineb -Ws${toString readNArgs} ${escape.escapeExecline argList} ''; writeExecline = writeExeclineCommon pkgs.writeScript; |