summaryrefslogtreecommitdiff
path: root/tests/symlink.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/symlink.t
parent708f499d757011dbf782aa16fd4cf9c8f56cda76 (diff)
downloadlighttpd1.4-c65ad47a55874571a53e03a422d6be3ab96a4584.tar.gz
lighttpd1.4-c65ad47a55874571a53e03a422d6be3ab96a4584.zip
- 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/symlink.t')
-rw-r--r--tests/symlink.t8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/symlink.t b/tests/symlink.t
index fd7b5059..4274fdfe 100644
--- a/tests/symlink.t
+++ b/tests/symlink.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;