Browse Source

Write build stdout/stderr to the build.log and the stdout

pull/215/head
marpme 1 year ago
parent
commit
2f96ca44f1
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      bin/gbuild

+ 1
- 1
bin/gbuild View File

@@ -162,7 +162,7 @@ EOF" if build_desc["sudo"] and @options[:allow_sudo]

if ENV["CI"]
info "Running build script"
system! "on-target setarch #{@arches[arch]} bash -x < var/build-script"
system! "on-target setarch #{@arches[arch]} bash -x < var/build-script 2>&1 | tee var/build.log"
else
info "Running build script (log in var/build.log)"
system! "on-target setarch #{@arches[arch]} bash -x < var/build-script > var/build.log 2>&1"

Loading…
Cancel
Save