summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/mimetype2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mimetype b/scripts/mimetype
index 3c0c17e9b..330f96ef0 100755
--- a/scripts/mimetype
+++ b/scripts/mimetype
@@ -27,7 +27,7 @@ if (!$type) {
# detect ascii with color codes
$file_type = `file -b $file`;
chomp $file_type;
- if ($file_type eq "ASCII text, with escape sequences") {
+ if ($file_type =~ m/ASCII text, (?:with very long lines, )?with escape sequences/) {
$type = "text/plain-ascii";
}
}