Changed current html symlink to be relative, not absolute
authorNigel Metheringham <nigel.metheringham@dev.intechnology.co.uk>
Fri, 28 Jan 2011 12:34:58 +0000 (12:34 +0000)
committerNigel Metheringham <nigel.metheringham@dev.intechnology.co.uk>
Fri, 28 Jan 2011 12:35:38 +0000 (12:35 +0000)
Fixes bug 1077

script/gen.pl

index 82ab22440136ed48791b1c5454fec24e2469ffed..3c3b4357b8d1247b54855cdb15d6a5d50889d4d8 100755 (executable)
@@ -27,7 +27,7 @@ do_web() if exists $opt{web};
 ## Add the exim-html-current symlink
 print "Symlinking exim-html-current to exim-html-$opt{latest}\n";
 unlink("$opt{docroot}/exim-html-current") if ( -l "$opt{docroot}/exim-html-current" );
-symlink( "$opt{docroot}/exim-html-$opt{latest}", "$opt{docroot}/exim-html-current" )
+symlink( "exim-html-$opt{latest}", "$opt{docroot}/exim-html-current" )
   || die "symlink to $opt{docroot}/exim-html-current failed";
 
 ## Generate the website files