[Pkg-haskell-commits] [package-plan] 01/03: Fix indenting

Joachim Breitner nomeata at moszumanska.debian.org
Sat Jun 20 12:03:19 UTC 2015


This is an automated email from the git hooks/post-receive script.

nomeata pushed a commit to branch master
in repository package-plan.

commit 4fd77f3916a14391051f7ff32abf2c2dc2263d5e
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Sat Jun 20 12:41:57 2015 +0200

    Fix indenting
---
 test-packages.pl | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/test-packages.pl b/test-packages.pl
index 6e91bfd..7609c51 100755
--- a/test-packages.pl
+++ b/test-packages.pl
@@ -237,21 +237,21 @@ __END__
 	my $tar = Archive::Tar->new($originaltarpath);
 	print "Adding additional packages...\n";
 	for my $cabalfile (<./additional-cabals/*.cabal>) {
-	        unless ($cabalfile =~ m!^./additional-cabals/(.*)-(.*).cabal!) {
+		unless ($cabalfile =~ m!^./additional-cabals/(.*)-(.*).cabal!) {
 		        printf "Ignoring $cabalfile, does not match not match naming scheme additional-cabals/<pkg>-<version>.cabal";
 			$error_count++;
 			next
 		}
-	my $package = $1;
-	my $version = $2;
-	
-	my $content = read_file($cabalfile);
-	my $filename = "$package/$version/$package.cabal";
-	if ($tar->contains_file($filename)) {
-		$tar->replace_content($filename, $content);
-	} else {
-		$tar->add_data($filename, $content);
-	}
+		my $package = $1;
+		my $version = $2;
+
+		my $content = read_file($cabalfile);
+		my $filename = "$package/$version/$package.cabal";
+		if ($tar->contains_file($filename)) {
+			$tar->replace_content($filename, $content);
+		} else {
+			$tar->add_data($filename, $content);
+		}
 	}
 
 	print "Applying patches to repository .cabal files...\n";

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/package-plan.git



More information about the Pkg-haskell-commits mailing list