my $buildresult;
my $distribution='squeeze-dev';
my $git_checks='all';
-my $version='3.5-1~git';
+my $version='3.9-1~git';
my $auto_version=1;
my $need_help;
my $debug;
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) {
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";