Skip to content

Commit

Permalink
Update build_rocky_linux_9_5.sh
Browse files Browse the repository at this point in the history
log stdout and stderr to build timestamped build log

Signed-off-by: Michael Oliver <[email protected]>
  • Loading branch information
mcoliver committed Nov 22, 2024
1 parent 6b559f5 commit 6c4c546
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/build_guides/build_rocky_linux_9_5.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
#!/bin/bash

#Log stdout and stderr to file
TMP_XSTUDIO_BUILD_TIME=$(date +%Y%m%d%H%M%S)
TMP_XSTUDIO_BUILD_LOG=xstudiobuild-${TMP_XSTUDIO_BUILD_TIME}.log
exec > >(tee -ia ${TMP_XSTUDIO_BUILD_LOG})
exec 2> >(tee -ia ${TMP_XSTUDIO_BUILD_LOG} >&2)

## Rocky Linux 9.x
#[Download](https://rockylinux.org/download "Download")

Expand Down

0 comments on commit 6c4c546

Please sign in to comment.