[exim-cvs] Redirect output to /tmp/website-$(date +%s).log

Top Page
Delete this message
Reply to this message
Author: Exim Git Commits Mailing List
Date:  
To: exim-cvs
Subject: [exim-cvs] Redirect output to /tmp/website-$(date +%s).log
Gitweb: https://git.exim.org/exim-website.git/commitdiff/5c56d6ae2d878c40b454f6ba47a593063baa28aa
Commit:     5c56d6ae2d878c40b454f6ba47a593063baa28aa
Parent:     08ef10dfaee85d734324592570d51aaf0345d278
Author:     Heiko Schlittermann (HS12-RIPE) <hs@???>
AuthorDate: Mon Dec 9 08:40:15 2019 +0100
Committer:  Heiko Schlittermann (HS12-RIPE) <hs@???>
CommitDate: Mon Dec 9 08:40:15 2019 +0100


    Redirect output to /tmp/website-$(date +%s).log
---
 script/build | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


diff --git a/script/build b/script/build
index 56b8f1f..b3dcb6f 100755
--- a/script/build
+++ b/script/build
@@ -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)`