diff options
author | Colin Guthrie <colin@mageia.org> | 2012-07-24 08:49:20 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2012-07-24 08:49:20 +0000 |
commit | af7e4ddded20edbe27719bab293e6ffb7e0029cf (patch) | |
tree | cc44b0f5044741e54543b43cd79e85c122c03529 | |
parent | b868ea8a4157e56f82dbe69512c446c68fa31c3d (diff) | |
download | spec-helper-af7e4ddded20edbe27719bab293e6ffb7e0029cf.tar spec-helper-af7e4ddded20edbe27719bab293e6ffb7e0029cf.tar.gz spec-helper-af7e4ddded20edbe27719bab293e6ffb7e0029cf.tar.bz2 spec-helper-af7e4ddded20edbe27719bab293e6ffb7e0029cf.tar.xz spec-helper-af7e4ddded20edbe27719bab293e6ffb7e0029cf.zip |
Do not make symlinks to /{dev,proc,sys}/ relative
-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; |