summaryrefslogtreecommitdiff
path: root/tests/core-condition.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/core-condition.t')
-rwxr-xr-xtests/core-condition.t8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/core-condition.t b/tests/core-condition.t
index 96b05d8..53919a1 100755
--- a/tests/core-condition.t
+++ b/tests/core-condition.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;