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