aboutsummaryrefslogtreecommitdiff
path: root/tests/secureserver.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/secureserver.pl')
-rwxr-xr-xtests/secureserver.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/secureserver.pl b/tests/secureserver.pl
index 064fa84f5..36a902e5a 100755
--- a/tests/secureserver.pl
+++ b/tests/secureserver.pl
@@ -26,7 +26,8 @@
# non-secure test harness servers.
BEGIN {
- @INC=(@INC, $ENV{'srcdir'}, '.');
+ push(@INC, $ENV{'srcdir'}) if(defined $ENV{'srcdir'});
+ push(@INC, ".");
}
use strict;