Bugzilla – Attachment 37453 Details for
Bug 8050
debian/build-git-snapshot should warn user if it fails
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 8050: Die if package building fails
PASSED-QA-Bug-8050-Die-if-package-building-fails.patch (text/plain), 1.04 KB, created by
Kyle M Hall
on 2015-04-03 12:37:35 UTC
(
hide
)
Description:
[PASSED QA] Bug 8050: Die if package building fails
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2015-04-03 12:37:35 UTC
Size:
1.04 KB
patch
obsolete
>From 7acf58d8afc462cc3c914f4bbfde50f1578c3d5a Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Wed, 1 Apr 2015 11:35:55 +0200 >Subject: [PATCH] [PASSED QA] Bug 8050: Die if package building fails > >The debian/build-git-snapshot script should not return success if an >error occurred. > >Note that sys_command_output won't raise an error if something fails. > >Signed-off-by: Robin Sheat <robin@catalyst.net.nz> > >Made a minor change to print the command, add a newline. > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > debian/build-git-snapshot | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/debian/build-git-snapshot b/debian/build-git-snapshot >index a2a0e9f..2d13f77 100755 >--- a/debian/build-git-snapshot >+++ b/debian/build-git-snapshot >@@ -62,7 +62,7 @@ sub sys_command_output_screen { > my ($command) = @_; > > print "$command\n" if $debug; >- system($command); >+ system($command) == 0 or die "Command '$command' returns an error ($?)\n"; > } > > sub everything_is_committed { >-- >1.7.2.5
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 8050
:
37414
|
37425
| 37453