From 44369cf1c57a006921c89a2cede8d0ba87b1d659 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Sun, 1 Apr 2007 12:42:12 +0000 Subject: * circumvent dubious problem with perldoc in combination with UTF-8 that leads to strange dashes and single-quotes being used, in result making it impossible to copy'n'paste examples git-svn-id: http://svn.openslx.org/svn/openslx/trunk@842 95ad53e4-c205-0410-b2fa-d234c58c8868 --- installer/slxos-export | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'installer/slxos-export') diff --git a/installer/slxos-export b/installer/slxos-export index 30045ff7..ad8d98a3 100755 --- a/installer/slxos-export +++ b/installer/slxos-export @@ -48,7 +48,12 @@ GetOptions( 'version' => \$versionReq, ) or pod2usage(2); pod2usage(-msg => $abstract, -verbose => 0, -exitval => 1) if $helpReq; -pod2usage(-verbose => 2) if $manReq; +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 + pod2usage(-verbose => 2) +} if ($versionReq) { system('slxversion'); exit 1; -- cgit v1.2.3-55-g7522