[pkg-kolab] r1269 - /

Mathieu Parent mparent-guest at alioth.debian.org
Sat Apr 25 16:53:08 UTC 2009


Author: mparent-guest
Date: 2009-04-25 16:53:08 +0000 (Sat, 25 Apr 2009)
New Revision: 1269

Modified:
   pkg-kolab_toolbox
Log:
Always chomp


Modified: pkg-kolab_toolbox
===================================================================
--- pkg-kolab_toolbox	2009-04-23 17:31:44 UTC (rev 1268)
+++ pkg-kolab_toolbox	2009-04-25 16:53:08 UTC (rev 1269)
@@ -129,6 +129,7 @@
     my $action = shift;
     info("Empty branch `$o_branch'") if(!defined($branches{$o_branch}));
     if($action eq 'build' || $action eq 'command' || $action eq 'prepare') {
+	chomp $o_basedir;
         for my $package ( keys %{ $branches{$o_branch} } ) {
             my $branch = $branches{$o_branch}{$package};
 	    info("================================");
@@ -143,7 +144,6 @@
             }
 
 	    if($action eq 'prepare') {
-		chomp $o_basedir;
 	        rmtree("$o_basedir/$package/build-area");
 	        chdir "$o_basedir/$package/$branch";
 		print "$o_basedir/$package/$branch\n";




More information about the pkg-kolab-devel mailing list