Skip to content
Snippets Groups Projects
Commit 1fb30e6d authored by Eelco Dolstra's avatar Eelco Dolstra
Browse files

Handle the case where $SHELL is not set

parent 8f6146a7
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,8 @@ my @instArgs = (); ...@@ -14,7 +14,8 @@ my @instArgs = ();
my @buildArgs = (); my @buildArgs = ();
my @exprs = (); 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 = (); my @envExclude = ();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment