Make handling of Windows / Linux symmetric when it comes
to "clines". Implemented as a Perl script on Linux.
This commit is contained in:

committed by
holmberg556

parent
2a7bb70fee
commit
a3bd727568
@ -250,6 +250,8 @@ end
|
|||||||
path_dirs = [ File.expand_path("t/bin") ]
|
path_dirs = [ File.expand_path("t/bin") ]
|
||||||
if RUBY_PLATFORM =~ /mswin/
|
if RUBY_PLATFORM =~ /mswin/
|
||||||
path_dirs.unshift File.expand_path("t/bin/windows")
|
path_dirs.unshift File.expand_path("t/bin/windows")
|
||||||
|
else
|
||||||
|
path_dirs.unshift File.expand_path("t/bin/unix")
|
||||||
end
|
end
|
||||||
|
|
||||||
ENV["PATH"] = [
|
ENV["PATH"] = [
|
||||||
|
7
t/bin/unix/clines
Executable file
7
t/bin/unix/clines
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/perl
|
||||||
|
|
||||||
|
use strict;
|
||||||
|
|
||||||
|
for my $arg (@ARGV) {
|
||||||
|
print "$arg\n";
|
||||||
|
}
|
Reference in New Issue
Block a user