Browse Source

Merge d36b85d411 into 2ff166ea33

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

+ 5
- 1
bin/gbuild View File

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

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"
if ENV["CI"]
system! "on-target setarch #{@arches[arch]} bash -x < var/build-script 2>&1 | tee var/build.log"
else
system! "on-target setarch #{@arches[arch]} bash -x < var/build-script > var/build.log 2>&1"
end
end

################################

Loading…
Cancel
Save