summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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)