summaryrefslogtreecommitdiff
path: root/solenv/bin/modules/installer/languagepack.pm
diff options
context:
space:
mode:
Diffstat (limited to 'solenv/bin/modules/installer/languagepack.pm')
-rw-r--r--solenv/bin/modules/installer/languagepack.pm9
1 files changed, 4 insertions, 5 deletions
diff --git a/solenv/bin/modules/installer/languagepack.pm b/solenv/bin/modules/installer/languagepack.pm
index 6288d35e863a..cc927b168865 100644
--- a/solenv/bin/modules/installer/languagepack.pm
+++ b/solenv/bin/modules/installer/languagepack.pm
@@ -454,12 +454,11 @@ sub build_installer_for_languagepack
# find and read setup script template
- my $scriptfilename = "langpackscript.sh";
- my $scriptref = installer::scriptitems::get_sourcepath_from_filename_and_includepath(\$scriptfilename, $includepatharrayref, 0);
- if ($$scriptref eq "") { installer::exiter::exit_program("ERROR: Could not find script file $scriptfilename!", "build_installer_for_languagepack"); }
- my $scriptfile = installer::files::read_file($$scriptref);
+ my $scriptfilename = $ENV{'SRCDIR'} . "/setup_native/scripts/langpackscript.sh";
+ if (! -f $scriptfilename) { installer::exiter::exit_program("ERROR: Could not find script file $scriptfilename!", "build_installer_for_languagepack"); }
+ my $scriptfile = installer::files::read_file($scriptfilename);
- my $infoline = "Found script file $scriptfilename: $$scriptref \n";
+ my $infoline = "Found script file $scriptfilename: $scriptfile \n";
push( @installer::globals::logfileinfo, $infoline);
# find and read english license file