[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Patch to better match file extensions
From: |
Eric Dorland |
Subject: |
Patch to better match file extensions |
Date: |
Sun, 18 Jun 2006 04:13:25 -0400 |
User-agent: |
Mutt/1.5.11+cvs20060403 |
Ran into the error:
doc/automake.texi:3: output `automake-1.9.info' has unrecognized
extension
This patch fixes it:
--- automake.in (revision 46977)
+++ automake.in (working copy)
@@ -2752,7 +2752,7 @@
next if $outfile;
$outfile = $1;
- if ($outfile =~ /\.(.+)$/ && $1 ne 'info')
+ if ($outfile =~ /\.([^.]+)$/ && $1 ne 'info')
{
error ("$filename:$.",
"output `$outfile' has unrecognized extension");
--
Eric Dorland <address@hidden>
ICQ: #61138586, Jabber: address@hidden
1024D/16D970C6 097C 4861 9934 27A0 8E1C 2B0A 61E9 8ECF 16D9 70C6
signature.asc
Description: Digital signature
- Patch to better match file extensions,
Eric Dorland <=