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
commit93059f9b6a8c8cf0a45f98e733fd87c30fa1f04f (patch)
tree9b9c7858a98fa925e15e4bdf2845e5b7deb39a05
parentcdb7f2b26e717bbfe84dbd73f949c6b06ca2b2d7 (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