https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
6 lines
40 B
Bash
6 lines
40 B
Bash
CWD=SUBST_CWD
|
|
SUBST_ARGV0
|
|
-x
|
|
-y
|
|
-z
|
|
-abc
|