Kaydet (Commit) a7a2fe05 authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

fix 89e47b8b, dereference hash object-ref

Change-Id: I3354f1c6b1eb5b1a78c25ff6ac23218336fd8bea
üst 70934443
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment