summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Dyer <cdyer@allegro.clab.cs.cmu.edu>2013-11-25 00:28:48 -0500
committerChris Dyer <cdyer@allegro.clab.cs.cmu.edu>2013-11-25 00:28:48 -0500
commit73aea215412a8a2837292d9eac1617df7c45ef01 (patch)
tree8e3cfbf73f6ffd19e6d7c450a9be0266ae47398e
parent26235c2770f10fc6975a06fd3a8167cbd23029a9 (diff)
fix for ubuntu systems
-rwxr-xr-xtests/tools/flex-diff.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/tools/flex-diff.pl b/tests/tools/flex-diff.pl
index 245e9a1b..30f73c4d 100755
--- a/tests/tools/flex-diff.pl
+++ b/tests/tools/flex-diff.pl
@@ -1,5 +1,8 @@
#!/usr/bin/perl -w
use strict;
+
+my $script_dir; BEGIN { use Cwd qw/ abs_path cwd /; use File::Basename; $script_dir = dirname(abs_path($0)); push @INC, "$script_dir/.."; }
+
use IPC::Run3;
# this file abstracts away from differences due to different hash