summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2010-10-18 21:26:15 +0200
committerDaniel Friesel <derf@finalrewind.org>2010-10-18 21:26:15 +0200
commit4c88b1075addfa92b4539bf807a34e8474e1421b (patch)
treeb404cca791739ea064a2eddad489b9cb5e169011
parenteb9cf83b5939225b78ef34ed60d7baaaf6f28be3 (diff)
checklinks: Avoid ..// in BC symlinks
-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;