From 57c0e770e31c2a4e4961aa5b2cfedb292959739c Mon Sep 17 00:00:00 2001 From: Nigel Metheringham Date: Fri, 28 Jan 2011 12:34:58 +0000 Subject: [PATCH] Changed current html symlink to be relative, not absolute Fixes bug 1077 --- script/gen.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2