diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-08-26 10:21:40 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-08-26 10:21:40 +0300 |
commit | fa34aa68e281f318376702f663fe6b9c5214800e (patch) | |
tree | 5eecca541b18ff205df9069d040e10c547c81caf /tests/phrase.lattice.ondisk | |
parent | c2b66405c907b393dbf2c1ccb75fd2eeef91a467 (diff) |
use env for all .pl files
Diffstat (limited to 'tests/phrase.lattice.ondisk')
-rwxr-xr-x | tests/phrase.lattice.ondisk/filter-stderr.pl | 2 | ||||
-rwxr-xr-x | tests/phrase.lattice.ondisk/filter-stdout.pl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/phrase.lattice.ondisk/filter-stderr.pl b/tests/phrase.lattice.ondisk/filter-stderr.pl index 2f6e176..4c279a1 100755 --- a/tests/phrase.lattice.ondisk/filter-stderr.pl +++ b/tests/phrase.lattice.ondisk/filter-stderr.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl BEGIN { use Cwd qw/ abs_path /; use File::Basename; $script_dir = dirname(abs_path($0)); push @INC, "$script_dir/../perllib"; } use RegTestUtils; diff --git a/tests/phrase.lattice.ondisk/filter-stdout.pl b/tests/phrase.lattice.ondisk/filter-stdout.pl index 476ddf6..0715c2d 100755 --- a/tests/phrase.lattice.ondisk/filter-stdout.pl +++ b/tests/phrase.lattice.ondisk/filter-stdout.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl $x=0; while (<>) { chomp; |