diff options
author | Dirk Hohndel (Intel) <dhohndel@dhohndel-mac02.jf.intel.com> | 2015-06-02 10:22:10 -0700 |
---|---|---|
committer | Dirk Hohndel (Intel) <dhohndel@dhohndel-mac02.jf.intel.com> | 2015-06-02 10:22:10 -0700 |
commit | e8f9a7c5026e10014cf525af39e305e9575febed (patch) | |
tree | 52bab9dfc7b58a6f3808154c3e342040b80ac6e1 /scripts/build.sh | |
parent | 6cd85d9b731ef646b605d483dbbcddbc70283338 (diff) | |
download | subsurface-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-x | scripts/build.sh | 3 |
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) |