summaryrefslogtreecommitdiff
path: root/prj_install.pl
diff options
context:
space:
mode:
authorAdam Mitz <mitza-oci@users.noreply.github.com>2010-09-14 19:39:33 +0000
committerAdam Mitz <mitza-oci@users.noreply.github.com>2010-09-14 19:39:33 +0000
commit060e57c2831d94efb67fb1e6d8fe2faf2cc971be (patch)
treef714e57802f2cb02d2e9f02bf2484fd85a31817c /prj_install.pl
parentc3d04c13211d65f5d99970dd4939a8cc272c88b2 (diff)
downloadMPC-060e57c2831d94efb67fb1e6d8fe2faf2cc971be.tar.gz
ChangeLogTag: Tue Sep 14 19:38:30 UTC 2010 Adam Mitz <mitza@ociweb.com>
Diffstat (limited to 'prj_install.pl')
-rwxr-xr-xprj_install.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/prj_install.pl b/prj_install.pl
index 44e08fca..3f8d1ef6 100755
--- a/prj_install.pl
+++ b/prj_install.pl
@@ -88,7 +88,7 @@ sub copyFiles {
foreach my $file (@$files) {
if (-l $file) {
my $dest = readlink($file);
- if (exists $linkTargets{$dest}) {
+ if (exists $linkTargets{$dest} && $file ne $linkTargets{$dest}) {
if (length $file <= length $linkTargets{$dest}) {
$localLink{$file} = $linkTargets{$dest};
}