You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-apps/less/files/code2color-0.2.patch

27 lines
919 B

--- code2color
+++ code2color
@@ -163,11 +163,11 @@
# building up the database
# newer entries overwrite old ones
my @CONFIG_FILES;
- push @CONFIG_FILES, "/etc/code2html.config";
+ push @CONFIG_FILES, "/etc/code2color";
push @CONFIG_FILES,
- $ENV{'HOME'}."/.code2html.config" if $ENV{'HOME'};
+ $ENV{'HOME'}."/.code2color" if $ENV{'HOME'};
push @CONFIG_FILES,
- split(/:/,$ENV{'CODE2HTML_CONFIG'}) if $ENV{'CODE2HTML_CONFIG'};
+ split(/:/,$ENV{'CODE2COLOR_CONFIG'}) if $ENV{'CODE2COLOR_CONFIG'};
push @CONFIG_FILES,
split(/:/,$params{'langfile'}) if $params{'langfile'};
@@ -3192,7 +3192,7 @@
#
$LANGUAGE{'shellscript'} = {
- 'filename' => '\\.(sh|shell)$',
+ 'filename' => '\\.(ebuild|eclass|sh|shell)$',
'regex' => '^\\s*#\\s*![^\\s]*(sh|bash|ash|zsh|ksh)',
'patterns' => [ {
'name' => 'comment',