summaryrefslogtreecommitdiffstats
path: root/scripts/build.sh
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel (Intel) <dhohndel@dhohndel-mac02.jf.intel.com>2015-06-02 10:22:10 -0700
committerGravatar Dirk Hohndel (Intel) <dhohndel@dhohndel-mac02.jf.intel.com>2015-06-02 10:22:10 -0700
commite8f9a7c5026e10014cf525af39e305e9575febed (patch)
tree52bab9dfc7b58a6f3808154c3e342040b80ac6e1 /scripts/build.sh
parent6cd85d9b731ef646b605d483dbbcddbc70283338 (diff)
downloadsubsurface-e8f9a7c5026e10014cf525af39e305e9575febed.tar.gz
Build script: create log file by default
Signed-off-by: Dirk Hohndel (Intel) <dhohndel@dhohndel-mac02.jf.intel.com>
Diffstat (limited to 'scripts/build.sh')
-rwxr-xr-xscripts/build.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/build.sh b/scripts/build.sh
index 8ebdea972..7908d687d 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -17,6 +17,9 @@
# of the current directory (except on Mac where the Subsurface.app ends up
# in subsurface/build
+# create a log file of the build
+exec 1> >(tee build.log) 2>&1
+
SRC=$(pwd)
PLATFORM=$(uname)