Bugzilla – Attachment 57879 Details for
Bug 17711
Add othermirror option to build-git-snapshot
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17711 Add othermirror option to build-git-snapshot
Bug-17711-Add-othermirror-option-to-build-git-snap.patch (text/plain), 1.56 KB, created by
Mirko Tietgen
on 2016-12-02 05:21:56 UTC
(
hide
)
Description:
Bug 17711 Add othermirror option to build-git-snapshot
Filename:
MIME Type:
Creator:
Mirko Tietgen
Created:
2016-12-02 05:21:56 UTC
Size:
1.56 KB
patch
obsolete
>From 7cb87ae377fa50f4fc8deae07c47d1329cd590f0 Mon Sep 17 00:00:00 2001 >From: Mirko Tietgen <mirko@abunchofthings.net> >Date: Fri, 2 Dec 2016 06:21:14 +0100 >Subject: [PATCH] Bug 17711 Add othermirror option to build-git-snapshot > >Add othermirror option to build-git-snapshot >--- > debian/build-git-snapshot | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/debian/build-git-snapshot b/debian/build-git-snapshot >index 1e1505d..155baf2 100755 >--- a/debian/build-git-snapshot >+++ b/debian/build-git-snapshot >@@ -31,6 +31,7 @@ my $basetgz; > my $buildresult; > my $distribution='squeeze-dev'; > my $git_checks='all'; >+my $othermirror; > my $version='16.06~git'; > my $auto_version=1; > my $need_help; >@@ -41,6 +42,7 @@ GetOptions( > 'buildresult|r=s' => \$buildresult, > 'distribution|D=s' => \$distribution, > 'git-checks|g=s' => \$git_checks, >+ 'othermirror|o=s' => \$othermirror, > 'version|v=s' => \$version, > 'autoversion!' => \$auto_version, > 'help|h' => \$need_help, >@@ -140,7 +142,8 @@ sub build_package { > > my $pdebuildopts = $buildresult ? "--buildresult $buildresult" : ""; > my $pdebuildbasetgz = $basetgz ? "-- --basetgz /var/cache/pbuilder/" . $basetgz . ".tgz" : ""; >- sys_command_output_screen( "pdebuild $pdebuildbasetgz $pdebuildopts" ); >+ my $pdebuildothermirror = $othermirror ? "-- --othermirror $othermirror" : ""; >+ sys_command_output_screen( "pdebuild $pdebuildbasetgz $pdebuildothermirror $pdebuildopts" ); > } > > everything_is_committed() or die "cannot build: uncommited changes"; >-- >2.1.4
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 17711
:
57879
|
57880