mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
Handle the case where $SHELL is not set
This commit is contained in:
parent
8f6146a7bc
commit
1fb30e6d50
1 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,8 @@ my @instArgs = ();
|
|||
my @buildArgs = ();
|
||||
my @exprs = ();
|
||||
|
||||
my $envCommand = "p=\$PATH; source \$stdenv/setup; PATH=\$PATH:\$p; exec $ENV{SHELL}";
|
||||
my $shell = $ENV{SHELL} || "/bin/sh";
|
||||
my $envCommand = "p=\$PATH; source \$stdenv/setup; PATH=\$PATH:\$p; exec $shell";
|
||||
my @envExclude = ();
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue