[Sie-announce] SIEコード [2095] ライセンス条項などを統一できるように工夫

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2010年 10月 26日 (火) 19:54:07 JST


Revision: 2095
          http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=2095
Author:   dhrname
Date:     2010-10-26 19:54:07 +0900 (Tue, 26 Oct 2010)

Log Message:
-----------
ライセンス条項などを統一できるように工夫

Modified Paths:
--------------
    trunk/build.php

Modified: trunk/build.php
===================================================================
--- trunk/build.php	2010-10-25 14:14:28 UTC (rev 2094)
+++ trunk/build.php	2010-10-26 10:54:07 UTC (rev 2095)
@@ -9,14 +9,12 @@
 foreach ($filelist as $file) {
     $st = file_get_contents($file);
     $st = str_replace('new STLog(true', 'new STLog(false', $st);
-    if ($file != "org/w3c/dom/svg.js") {
-        preg_match("/\/\*SIE\-SVG[\s\S]+Legal\/ for more details[^\*]+\*\//", $st, $matches);
-        $st = preg_replace("/\/\*SIE\-SVG[\s\S]+Legal\/ for more details[^\*]+\*\//", "", $st);
-    }
+    preg_match("/\/\*SIE\-SVG[\s\S]+?Legal\/ for more details[^\*]+\*\//", $st, $matches);
+    $st = preg_replace("/\/\*SIE\-SVG[\s\S]+?Legal\/ for more details[^\*]+\*\//", "", $st);
     $s .= $st;
 }
 $s = $matches[0] .$s;
-file_put_contents("sie_beta.js", $s);
+file_put_contents("sie.js", $s);
 ?>
 </body>
 </html>
\ No newline at end of file




Sie-announce メーリングリストの案内
Back to archive index