Redirect output to /tmp/website-$(date +%s).log
authorHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>
Mon, 9 Dec 2019 07:40:15 +0000 (08:40 +0100)
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>
Mon, 9 Dec 2019 07:40:15 +0000 (08:40 +0100)
script/build

index 56b8f1f8f9c88734180d006b5791fe946b469860..b3dcb6ffa395895d2a8de3c2ea91746c074c5018 100755 (executable)
@@ -1,4 +1,6 @@
-#!/bin/sh
+#!/bin/bash
+
+exec &>/tmp/website-$(date +%s).log
 
 TARGET=${1:-/srv/www/vhosts/www.exim.org}
 LATEST=`(cd docbook; ls -1dv [0-9].[0-9]* | tail -1)`