This patch does not apply cleanly to 3.4.x. If it should, please rebase against 3.4.x and resubmit with [3.4.x] in the subject line.
Kind Regards, Chris On Mon, Aug 15, 2011 at 1:19 AM, Robin Sheat <[email protected]> wrote: > This allows the build information to not be suppressed when using > build-git-snapshot. This makes seeing where problems are substantially > easier. > --- > 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 > > _______________________________________________ > Koha-patches mailing list > [email protected] > http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches > website : http://www.koha-community.org/ > git : http://git.koha-community.org/ > bugs : http://bugs.koha-community.org/ >
_______________________________________________ Koha-patches mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
