summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/checklinks2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/checklinks b/bin/checklinks
index 29d676b..0a522b1 100755
--- a/bin/checklinks
+++ b/bin/checklinks
@@ -186,7 +186,7 @@ foreach my $key (keys %substitute) {
my $path = $substitute{$key};
- $path =~ s/ ^ $ENV{HOME}//x;
+ $path =~ s{ ^ $ENV{HOME} /}{}x;
$bc_subst{$key} = $path;