191130.2 · 88d8ad067ed871afa6da1e78232785e294e4f8ac
Use adjust_executable() instead of manually hacking it
reading declarations
Changes to t/process-substitution.t. All files
@@ -47,15 +47,7 @@ else { open STDOUT, '>&', $write or die "Can't open: $!"; open STDERR, '>&', $write or die "Can't open: $!"; - my @args = build_ack_invocation( qw( --noenv --nocolor --smart-case this ) );- my $perl = caret_X();-- if ( $ENV{'ACK_TEST_STANDALONE'} ) {- unshift( @args, $perl );- }- else {- unshift( @args, $perl, '-Mblib' );- }+ my @args = adjust_executable( build_ack_invocation( qw( --noenv --nocolor --smart-case this ) ) ); my $args = join( ' ', @args ); exec 'bash', '-c', "$args <(cat t/swamp/options.pl)"; }