Changeset 22883 for src

Show
Ignore:
Timestamp:
11/04/08 21:18:49 (2 months ago)
Author:
azawawi
Message:

[STD_syntax_highlight] ETOOMUCHTIME now checks your LANG variable for .UTF-8 suffix

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/perl6/ETOOMUCHTIME

    r22882 r22883  
    2525WARNING 
    2626 
    27 #add a sanity check to make sure STD.pm is correctly built 
     27#sanity check: make sure STD.pm is correctly built 
    2828unless(-r 'lex') { 
    2929    die "Could not find 'lex' directory. Maybe you forgot to 'make'\n"; 
     
    3131unless(-r 'STD.pmc') { 
    3232    die "Could not find 'STD.pmc'. Maybe your forgot to 'make'\n"; 
     33} 
     34 
     35#sanity check: make sure unicode will work with your locale 
     36unless($ENV{LANG} =~ /\.UTF-8$/) { 
     37    die "Unicode will not work. Please set your LANG environment variable.\n" . 
     38        "(e.g. 'export LANG=en_US.UTF-8' in your ~/.bashrc)"; 
    3339} 
    3440