[Libreoffice-commits] .: solenv/bin

Tim Retout timretout at kemper.freedesktop.org
Wed Mar 14 15:26:34 PDT 2012


 solenv/bin/modules/installer/strip.pm |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

New commits:
commit 36c2658145c84a41a1a30e940b6b7bb7550354a5
Author: Tim Retout <tim.retout at smoothwall.net>
Date:   Wed Mar 14 22:26:28 2012 +0000

    Turn on strict and warnings for install::strip.

diff --git a/solenv/bin/modules/installer/strip.pm b/solenv/bin/modules/installer/strip.pm
index 154f39b..7f0a39a 100644
--- a/solenv/bin/modules/installer/strip.pm
+++ b/solenv/bin/modules/installer/strip.pm
@@ -27,7 +27,9 @@
 
 package installer::strip;
 
-use installer::converter;
+use strict;
+use warnings;
+
 use installer::globals;
 use installer::logger;
 use installer::pathanalyzer;
@@ -107,7 +109,7 @@ sub strip_libraries
             my $shortfilename = $sourcefilename;
             installer::pathanalyzer::make_absolute_filename_to_relative_filename(\$shortfilename);
 
-            $infoline = "Strip: $shortfilename\n";
+            my $infoline = "Strip: $shortfilename\n";
             push( @installer::globals::logfileinfo, $infoline);
 
             # copy file into directory for stripped libraries


More information about the Libreoffice-commits mailing list