Refine PowerPC platform support.

This commit is contained in:
Andy Polyakov
2004-12-20 13:44:34 +00:00
parent a842df6659
commit 76ef6ac956
7 changed files with 48 additions and 52 deletions

View File

@@ -52,6 +52,7 @@ $symlink_exists=eval {symlink("",""); 1};
foreach $file (@files) {
my $err = "";
if ($symlink_exists) {
unlink "$from/$file";
symlink("$to/$file", "$from/$file") or $err = " [$!]";
} else {
unlink "$from/$file";