diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-11-08 13:20:05 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-11-08 13:20:05 -0600 |
commit | a7a2fe051069f6da49faff06fda96eba13912524 (patch) | |
tree | 69fb8dbf27aa5b399b9448d2bd122f1e35a1a5b6 /postprocess | |
parent | 7093444335d70db33bd798d72c6d64bb708713cd (diff) |
fix 89e47b8bf1ba3f86204ae3ab997432c26b0eea6b, dereference hash object-ref
Change-Id: I3354f1c6b1eb5b1a78c25ff6ac23218336fd8bea
Diffstat (limited to 'postprocess')
-rw-r--r-- | postprocess/packconfig/packconfig.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/postprocess/packconfig/packconfig.pl b/postprocess/packconfig/packconfig.pl index ec59dce36e66..88b84860cac0 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); } |