my $use_system = 0;
my @cmd;
-if (($ENV{EXE_SHELL} // '') ne '') {
- # We don't know what $ENV{EXE_SHELL} contains, so we must use the one
- # string form to ensure that exec invokes a shell as needed.
- @cmd = ( join(' ', $ENV{EXE_SHELL}, @ARGV) );
-} elsif (-x $unix_shlib_wrap) {
+if (-x $unix_shlib_wrap) {
@cmd = ( $unix_shlib_wrap, @ARGV );
} else {
# Hope for the best