diff options
Diffstat (limited to 'tests/core-keepalive.t')
-rwxr-xr-x | tests/core-keepalive.t | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/core-keepalive.t b/tests/core-keepalive.t index 8d91b4c..b4f51f9 100755 --- a/tests/core-keepalive.t +++ b/tests/core-keepalive.t @@ -1,10 +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; |