Author: adam-guest
Date: 2008-02-28 17:52:17 +0000 (Thu, 28 Feb 2008)
New Revision: 1072

Modified:
   trunk/scripts/licensecheck.pl
Log:
Layout and regex tweaks

Modified: trunk/scripts/licensecheck.pl
===================================================================
--- trunk/scripts/licensecheck.pl       2008-02-27 18:19:33 UTC (rev 1071)
+++ trunk/scripts/licensecheck.pl       2008-02-28 17:52:17 UTC (rev 1072)
@@ -383,11 +383,9 @@
        $license = "QPL $license";
     }
 
-       if ($licensetext =~ 
/http:\/\/opensource.org\/licenses\/mit-license.php/) {
+    if ($licensetext =~ 
/http:\/\/opensource\.org\/licenses\/mit-license\.php/) {
        $license = "MIT/X11 (BSD like) $license";
-       }
-
-    if ($licensetext =~ /Permission is hereby granted, free of charge, to any 
person obtaining a copy of this software and associated documentation files 
\(the Software\), to deal in the Software/) {
+    } elsif ($licensetext =~ /Permission is hereby granted, free of charge, to 
any person obtaining a copy of this software and associated documentation files 
\(the Software\), to deal in the Software/) {
        $license = "MIT/X11 (BSD like) $license";
     }
 



-- 
To unsubscribe, send mail to [EMAIL PROTECTED]

Reply via email to