git://git.exim.org
/
exim-website.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
new: no output redirection if STDIN is a terminal
[exim-website.git]
/
script
/
build
diff --git
a/script/build
b/script/build
index 56b8f1f8f9c88734180d006b5791fe946b469860..7ef635652407b250595e28a230051b307e2558bb 100755
(executable)
--- a/
script/build
+++ b/
script/build
@@
-1,4
+1,6
@@
-#!/bin/sh
+#!/bin/bash
+
+[[ -t 0 ]] || 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)`