Changeset 36548


Ignore:
Timestamp:
2022-09-02T19:55:28+12:00 (20 months ago)
Author:
anupama
Message:

gti.pl kept replacing = with : as key-value separator in the DEC properties files, where I really want it to stay as =, since I'd carefully escaped all : occurrences in the values already.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/bin/script/gti.pl

    r36402 r36548  
    22612261            }
    22622262           
    2263             print TARGET_FILE "$escaped_chunk_key:$target_file_chunk_text";
     2263            if ($translation_file_key eq "gs3deccolcfg") { # leave in the equals sign as key-value separator in gs3deccolcfg module
     2264                print TARGET_FILE "$escaped_chunk_key=$target_file_chunk_text";
     2265            } else { # for other modules, do as before: use a colon as key-value separator
     2266                print TARGET_FILE "$escaped_chunk_key:$target_file_chunk_text";
     2267            }
    22642268            if ($target_file_key_to_gti_comment_mapping->{$global_chunk_key}) {
    22652269                print TARGET_FILE "  # " . $target_file_key_to_gti_comment_mapping->{$global_chunk_key};
Note: See TracChangeset for help on using the changeset viewer.