diff options
author | Chris Lattner <sabre@nondot.org> | 2006-01-31 16:10:53 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-01-31 16:10:53 +0000 |
commit | d9aadd4d1568342e446eef23456574f01288dac4 (patch) | |
tree | 97f677682a8911c35cbe0f363470a121e2f83f30 | |
parent | 4477590ef64796e4716f7322d8b2d1cffbaadfa1 (diff) |
solaris won't clobber an existing symlink with ln -sf apparently
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25849 91177308-0d34-0410-b5e6-96231b3b80d8
-rwxr-xr-x | utils/NightlyTest.pl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/NightlyTest.pl b/utils/NightlyTest.pl index 48e9f3511d..fab4949094 100755 --- 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... |