make_installer.pl (dba1a2e4) | make_installer.pl (852d2129) |
---|---|
1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance --- 1631 unchanged lines hidden (view full) --- 1640 1641 installer::logger::copy_globalinfo_into_logfile(); 1642 $installer::globals::globalinfo_copied = 1; 1643 1644 my $logminor = ""; 1645 if ( $installer::globals::updatepack ) { $logminor = $installer::globals::lastminor; } 1646 else { $logminor = $installer::globals::minor; } 1647 | 1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance --- 1631 unchanged lines hidden (view full) --- 1640 1641 installer::logger::copy_globalinfo_into_logfile(); 1642 $installer::globals::globalinfo_copied = 1; 1643 1644 my $logminor = ""; 1645 if ( $installer::globals::updatepack ) { $logminor = $installer::globals::lastminor; } 1646 else { $logminor = $installer::globals::minor; } 1647 |
1648 my $loglanguagestring = $$languagestringref; 1649 my $loglanguagestring_orig = $loglanguagestring; 1650 if (length($loglanguagestring) > $installer::globals::max_lang_length) 1651 { 1652 my $number_of_languages = installer::systemactions::get_number_of_langs($loglanguagestring); 1653 chomp(my $shorter = `echo $loglanguagestring | md5sum | sed -e "s/ .*//g"`); 1654 my $id = substr($shorter, 0, 8); # taking only the first 8 digits 1655 $loglanguagestring = "lang_" . $number_of_languages . "_id_" . $id; 1656 } | 1648 my $loglanguagestring_orig = $$languagestringref; 1649 my $loglanguagestring = installer::languages::get_language_directory_name($$languagestringref); |
1657 1658 # Setup the directory where the language dependent log file will be stored. 1659 $loggingdir = $loggingdir . $loglanguagestring . $installer::globals::separator; 1660 installer::systemactions::create_directory($loggingdir); 1661 1662 # Set language dependent logging. 1663 $installer::globals::logfilename = sprintf("log_%s%s_%s.log", 1664 $installer::globals::build, --- 510 unchanged lines hidden --- | 1650 1651 # Setup the directory where the language dependent log file will be stored. 1652 $loggingdir = $loggingdir . $loglanguagestring . $installer::globals::separator; 1653 installer::systemactions::create_directory($loggingdir); 1654 1655 # Set language dependent logging. 1656 $installer::globals::logfilename = sprintf("log_%s%s_%s.log", 1657 $installer::globals::build, --- 510 unchanged lines hidden --- |