[Libreoffice-commits] .: postprocess/packconfig

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Nov 8 11:20:35 PST 2012


 postprocess/packconfig/packconfig.pl |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit a7a2fe051069f6da49faff06fda96eba13912524
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Thu Nov 8 13:20:05 2012 -0600

    fix 89e47b8bf1ba3f86204ae3ab997432c26b0eea6b, dereference hash object-ref
    
    Change-Id: I3354f1c6b1eb5b1a78c25ff6ac23218336fd8bea

diff --git a/postprocess/packconfig/packconfig.pl b/postprocess/packconfig/packconfig.pl
index ec59dce..88b8486 100644
--- a/postprocess/packconfig/packconfig.pl
+++ b/postprocess/packconfig/packconfig.pl
@@ -123,7 +123,7 @@ sub get_core_files
     my $files_hash_ref = shift;
     find_core_files($files_hash_ref);
 
-    if ( !keys $files_hash_ref ) {
+    if ( !keys %$files_hash_ref ) {
         print_error("can't find any config files in '$files_path'", 3);
     }
 
@@ -148,7 +148,7 @@ sub get_lang_files
     my $lang = shift;
     find_lang_files($files_hash_ref, $lang);
 
-    if ( !keys $files_hash_ref ) {
+    if ( !keys %$files_hash_ref ) {
         print_error("can't find any config files in '$files_path'", 3);
     }
 


More information about the Libreoffice-commits mailing list