Handle the case where $SHELL is not set
This commit is contained in:
parent
8f6146a7bc
commit
1fb30e6d50
|
@ -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