From 9ab35d7f87ffc00993220fd0d5c0b66eb2ce23a2 Mon Sep 17 00:00:00 2001 From: "Heiko Schlittermann (HS12-RIPE)" Date: Fri, 4 Mar 2016 12:09:08 +0100 Subject: [PATCH] Do not die if the latest (pdf, html) symlinks can't be created --- script/gen.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/gen.pl b/script/gen.pl index fe83e6e..882e385 100755 --- a/script/gen.pl +++ b/script/gen.pl @@ -36,7 +36,7 @@ do_static() if ( $opt{web} or !$opt{localstatic} ); # need this for all other print "Symlinking exim-html-current to exim-html-$opt{latest}\n" if ( $opt{verbose} ); unlink("$opt{docroot}/exim-html-current") if ( -l "$opt{docroot}/exim-html-current" ); symlink( "exim-html-$opt{latest}", "$opt{docroot}/exim-html-current" ) - || die "symlink to $opt{docroot}/exim-html-current failed"; + || warn "symlink to $opt{docroot}/exim-html-current failed"; # ------------------------------------------------------------------ ## Generate the website files -- 2.30.2