Changed current html symlink to be relative, not absolute
[exim-website.git] / 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