Bugzilla – Attachment 5017 Details for
Bug 6722
build-git-snapshot output doesn't show up on the screen
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Signed-off patch
0001-Bug-6722-SIGNED-OFF-Cause-build-output-to-appear-on-.patch (text/plain), 1.40 KB, created by
Magnus Enger
on 2011-08-15 09:58:30 UTC
(
hide
)
Description:
Signed-off patch
Filename:
MIME Type:
Creator:
Magnus Enger
Created:
2011-08-15 09:58:30 UTC
Size:
1.40 KB
patch
obsolete
>From 4da03b00c85b88fd3950a1ebfc91cd9765134a31 Mon Sep 17 00:00:00 2001 >From: Robin Sheat <robin@catalyst.net.nz> >Date: Wed, 22 Jun 2011 18:00:24 +1200 >Subject: [PATCH] Bug 6722: [SIGNED-OFF] Cause build output to appear on the screen > >This allows the build information to not be suppressed when using >build-git-snapshot. This makes seeing where problems are substantially >easier. > >Signed-off-by: Magnus Enger <magnus@enger.priv.no> >--- > debian/build-git-snapshot | 9 ++++++++- > 1 files changed, 8 insertions(+), 1 deletions(-) > >diff --git a/debian/build-git-snapshot b/debian/build-git-snapshot >index cd0545a..91552ff 100755 >--- a/debian/build-git-snapshot >+++ b/debian/build-git-snapshot >@@ -58,6 +58,13 @@ sub sys_command_output { > return map { chomp; $_ } <$command_output>; > } > >+sub sys_command_output_screen { >+ my ($command) = @_; >+ >+ print "$command\n" if $debug; >+ system($command); >+} >+ > sub everything_is_committed { > my $filter; > for ($git_checks) { >@@ -130,7 +137,7 @@ sub build_package { > sys_command_output( qq{git archive --format=tar --prefix="koha-$newversion/" HEAD | gzip -9 > "../koha_$newversion.tar.gz"} ); > > my $pdebuildopts = $buildresult ? "--buildresult $buildresult" : ""; >- sys_command_output( "pdebuild $pdebuildopts" ); >+ sys_command_output_screen( "pdebuild $pdebuildopts" ); > } > > everything_is_committed() or die "cannot build: uncommited changes"; >-- >1.7.4.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 6722
:
5015
| 5017