on master help sign in
tee build console output into a file
42737f9Kirill Zaborsky
automated/build-next.sh+1−1
@@ -132,7 +132,7 @@ esac
132# Now do the actual build. We need to first set the owner of the home directory
132# Now do the actual build. We need to first set the owner of the home directory
133# correctly, so we run the command as root, change owner, and then use sudo to
133# correctly, so we run the command as root, change owner, and then use sudo to
134# switch back to the current user
134# switch back to the current user
135−docker run $ARGS_BUILD $IMAGE nice -n 15 /bin/bash -c "chown $USER $HOME && exec sudo -E -u $USER env \"HOME=$HOME\" \"PATH=\$PATH\" stackage-curator build --jobs $JOBS"
135+docker run $ARGS_BUILD $IMAGE nice -n 15 /bin/bash -c "chown $USER $HOME && exec sudo -E -u $USER env \"HOME=$HOME\" \"PATH=\$PATH\" stackage-curator build --jobs $JOBS" 2>&1 | tee "$SHORTNAME-build.log"
136
136
137# Make sure we actually need this snapshot. We used to perform this check
137# Make sure we actually need this snapshot. We used to perform this check
138# exclusively before building. Now we perform it after as well for the case of
138# exclusively before building. Now we perform it after as well for the case of