aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tftpserver.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tftpserver.pl')
-rwxr-xr-xtests/tftpserver.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/tftpserver.pl b/tests/tftpserver.pl
index c5382ec6..60fc32d1 100755
--- a/tests/tftpserver.pl
+++ b/tests/tftpserver.pl
@@ -22,7 +22,8 @@
#***************************************************************************
BEGIN {
- @INC=(@INC, $ENV{'srcdir'}, '.');
+ push(@INC, $ENV{'srcdir'}) if(defined $ENV{'srcdir'});
+ push(@INC, ".");
}
use strict;