From: Nigel Metheringham Date: Fri, 28 Jan 2011 12:34:58 +0000 (+0000) Subject: Changed current html symlink to be relative, not absolute X-Git-Tag: exim-4_89_1~69 X-Git-Url: https://git.exim.org/exim-website.git/commitdiff_plain/57c0e770e31c2a4e4961aa5b2cfedb292959739c?ds=sidebyside Changed current html symlink to be relative, not absolute Fixes bug 1077 --- diff --git a/script/gen.pl b/script/gen.pl index 82ab224..3c3b435 100755 --- a/script/gen.pl +++ b/script/gen.pl @@ -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