projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4477590
)
solaris won't clobber an existing symlink with ln -sf apparently
author
Chris Lattner
<sabre@nondot.org>
Tue, 31 Jan 2006 16:10:53 +0000
(16:10 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 31 Jan 2006 16:10:53 +0000
(16:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25849
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/NightlyTest.pl
patch
|
blob
|
history
diff --git
a/utils/NightlyTest.pl
b/utils/NightlyTest.pl
index 48e9f3511d6abd317feac1c5fd324c66a27a1c92..fab4949094b26d1ef93fa0cdd1b892c1690fcb2a 100755
(executable)
--- a/
utils/NightlyTest.pl
+++ b/
utils/NightlyTest.pl
@@
-847,7
+847,10
@@
my $TestFinishTime = gmtime() . " GMT<br>" . localtime() . " (local)";
my $TestPlatform = `uname -a`;
eval "\$Output = <<ENDOFFILE;$TemplateContents\nENDOFFILE\n";
WriteFile "$DATE.html", $Output;
-system ( "ln -sf $DATE.html index.html" );
+
+# Remove the symlink before creating it for systems that don't have "ln -sf".
+system ("rm index.html");
+system ("ln -s $DATE.html index.html");
# Change the index.html symlink...