aboutsummaryrefslogtreecommitdiff
path: root/tests/keywords.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/keywords.pl')
-rwxr-xr-xtests/keywords.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/keywords.pl b/tests/keywords.pl
index 523bde1fc..28646ad00 100755
--- a/tests/keywords.pl
+++ b/tests/keywords.pl
@@ -23,7 +23,8 @@
use strict;
-@INC=(@INC, $ENV{'srcdir'}, ".");
+push(@INC, $ENV{'srcdir'}) if(defined $ENV{'srcdir'});
+push(@INC, ".");
require "getpart.pm"; # array functions