Skip to content

Commit 6c4c546

Browse files
committed
Update build_rocky_linux_9_5.sh
log stdout and stderr to build timestamped build log Signed-off-by: Michael Oliver <[email protected]>
1 parent 6b559f5 commit 6c4c546

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/build_guides/build_rocky_linux_9_5.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
#!/bin/bash
2+
3+
#Log stdout and stderr to file
4+
TMP_XSTUDIO_BUILD_TIME=$(date +%Y%m%d%H%M%S)
5+
TMP_XSTUDIO_BUILD_LOG=xstudiobuild-${TMP_XSTUDIO_BUILD_TIME}.log
6+
exec > >(tee -ia ${TMP_XSTUDIO_BUILD_LOG})
7+
exec 2> >(tee -ia ${TMP_XSTUDIO_BUILD_LOG} >&2)
8+
19
## Rocky Linux 9.x
210
#[Download](https://rockylinux.org/download "Download")
311

0 commit comments

Comments
 (0)