diff options
-rwxr-xr-x | relink_symlinks | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/relink_symlinks b/relink_symlinks index 0150899..f9642df 100755 --- a/relink_symlinks +++ b/relink_symlinks @@ -15,7 +15,7 @@ sub relativize { return unless -l $_; my $link = readlink($_); - return unless $link =~ m{^/}; + return unless $link =~ m{^/} && $link !~ m{^/(dev|proc|sys)/}; $link =~ s{^/}{}; my $dirname = $File::Find::dir; |