summaryrefslogtreecommitdiff
path: root/tests/request.t
diff options
context:
space:
mode:
authorElan Ruusamäe <glen@delfi.ee>2008-01-15 22:03:59 +0000
committerElan Ruusamäe <glen@delfi.ee>2008-01-15 22:03:59 +0000
commitc65ad47a55874571a53e03a422d6be3ab96a4584 (patch)
treeab68785c32aea58f45890fa05e08ccb509b8895b /tests/request.t
parent708f499d757011dbf782aa16fd4cf9c8f56cda76 (diff)
downloadlighttpd-git-c65ad47a55874571a53e03a422d6be3ab96a4584.tar.gz
- change s/// separator that it doesn't confuse vim
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2027 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'tests/request.t')
-rwxr-xr-xtests/request.t8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/request.t b/tests/request.t
index c153b21d..d2c88192 100755
--- a/tests/request.t
+++ b/tests/request.t
@@ -1,9 +1,9 @@
#!/usr/bin/env perl
BEGIN {
- # add current source dir to the include-path
- # we need this for make distcheck
- (my $srcdir = $0) =~ s#/[^/]+$#/#;
- unshift @INC, $srcdir;
+ # add current source dir to the include-path
+ # we need this for make distcheck
+ (my $srcdir = $0) =~ s,/[^/]+$,/,;
+ unshift @INC, $srcdir;
}
use strict;