summaryrefslogtreecommitdiffstats
path: root/installer
diff options
context:
space:
mode:
authorOliver Tappe2008-01-07 15:59:12 +0100
committerOliver Tappe2008-01-07 15:59:12 +0100
commitcf61961914b73672394f52dda8209fb7c484e5fe (patch)
tree182f76cdc99aab72d3b3a3e8db4473c37e951654 /installer
parent* finished refactoring of attribute handling code, especially the (diff)
downloadcore-cf61961914b73672394f52dda8209fb7c484e5fe.tar.gz
core-cf61961914b73672394f52dda8209fb7c484e5fe.tar.xz
core-cf61961914b73672394f52dda8209fb7c484e5fe.zip
* changed (and hopefully improved) fix for locale-problems that
lead to strange characters being used when invoking any script with the '--man' option. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1445 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'installer')
-rwxr-xr-xinstaller/slxos-export2
-rwxr-xr-xinstaller/slxos-setup6
2 files changed, 4 insertions, 4 deletions
diff --git a/installer/slxos-export b/installer/slxos-export
index be63068d..65cb7655 100755
--- a/installer/slxos-export
+++ b/installer/slxos-export
@@ -46,9 +46,9 @@ GetOptions(
or pod2usage(2);
pod2usage(-msg => $abstract, -verbose => 0, -exitval => 1) if $helpReq;
if ($manReq) {
- $ENV{LANG} = 'en_EN';
# avoid dubious problem with perldoc in combination with UTF-8 that
# leads to strange dashes and single-quotes being used
+ $ENV{LC_MESSAGES} = 'POSIX';
pod2usage(-verbose => 2);
}
if ($versionReq) {
diff --git a/installer/slxos-setup b/installer/slxos-setup
index 4ad9f0c8..6777ec4d 100755
--- a/installer/slxos-setup
+++ b/installer/slxos-setup
@@ -51,9 +51,9 @@ GetOptions(
) or pod2usage(2);
pod2usage(-msg => $abstract, -verbose => 0, -exitval => 1) if $helpReq;
if ($manReq) {
- $ENV{LANG} = 'en_EN';
- # avoid dubious problem with perldoc in combination with UTF-8 that
- # leads to strange dashes and single-quotes being used
+ # avoid dubious problem with perldoc in combination with UTF-8 that
+ # leads to strange dashes and single-quotes being used
+ $ENV{LC_MESSAGES} = 'POSIX';
pod2usage(-verbose => 2)
}
if ($versionReq) {