diff options
author | Daniel Friesel <derf@finalrewind.org> | 2010-10-18 21:26:15 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2010-10-18 21:26:15 +0200 |
commit | 4c88b1075addfa92b4539bf807a34e8474e1421b (patch) | |
tree | b404cca791739ea064a2eddad489b9cb5e169011 | |
parent | eb9cf83b5939225b78ef34ed60d7baaaf6f28be3 (diff) |
checklinks: Avoid ..// in BC symlinks
-rwxr-xr-x | bin/checklinks | 2 |
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; |