diff options
-rwxr-xr-x | installer/slxos-export | 2 | ||||
-rwxr-xr-x | installer/slxos-setup | 6 | ||||
-rwxr-xr-x | os-plugins/slxos-plugin | 2 |
3 files changed, 5 insertions, 5 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) { diff --git a/os-plugins/slxos-plugin b/os-plugins/slxos-plugin index e6cf8071..527fe715 100755 --- a/os-plugins/slxos-plugin +++ b/os-plugins/slxos-plugin @@ -45,9 +45,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) { |