summaryrefslogtreecommitdiff
path: root/solenv/bin/modules/installer/languagepack.pm
diff options
context:
space:
mode:
authorJordan Ayers <jordan.ayers@gmail.com>2010-11-07 18:02:12 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2010-11-08 00:06:36 -0600
commitb8fcb346da138e302d94a23d127e7df9a88ef7fe (patch)
tree5493cf05fb3c2a78ae682b2df1daaee06143a419 /solenv/bin/modules/installer/languagepack.pm
parentb67ab60bd680a31967834c64953ecb53f72b0619 (diff)
Perl Installer: Use built-in chmod
Replace several system calls which performed single-file permission sets with the built-in chmod command.
Diffstat (limited to 'solenv/bin/modules/installer/languagepack.pm')
-rw-r--r--solenv/bin/modules/installer/languagepack.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/solenv/bin/modules/installer/languagepack.pm b/solenv/bin/modules/installer/languagepack.pm
index 7d3e0f6aca0e..076e44b092a0 100644
--- a/solenv/bin/modules/installer/languagepack.pm
+++ b/solenv/bin/modules/installer/languagepack.pm
@@ -466,8 +466,7 @@ sub include_package_into_script
push( @installer::globals::logfileinfo, $infoline);
}
- my $localcall = "chmod 775 $scriptfilename \>\/dev\/null 2\>\&1";
- system($localcall);
+ chmod 0775, $scriptfilename;
}