cvs: php-src /win32/build cvsclean.js

From: Date: Wed, 07 Apr 2004 18:48:23 +0000
Subject: cvs: php-src /win32/build cvsclean.js
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-26998@lists.php.net to get a copy of this message
fmk Wed Apr 7 14:48:23 2004 EDT Modified files: /php-src/win32/build cvsclean.js Log: avoid deleting needed files when the .cvsignore file contains empty lines (mysqli) http://cvs.php.net/diff.php/php-src/win32/build/cvsclean.js?r1=1.2&r2=1.3&ty=u Index: php-src/win32/build/cvsclean.js diff -u php-src/win32/build/cvsclean.js:1.2 php-src/win32/build/cvsclean.js:1.3 --- php-src/win32/build/cvsclean.js:1.2 Thu Jan 8 12:33:29 2004 +++ php-src/win32/build/cvsclean.js Wed Apr 7 14:48:23 2004 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: cvsclean.js,v 1.2 2004/01/08 17:33:29 sniper Exp $ */ +/* $Id: cvsclean.js,v 1.3 2004/04/07 18:48:23 fmk Exp $ */ // Cleans up files that do not belong in CVS var FSO = WScript.CreateObject("Scripting.FileSystemObject"); @@ -30,6 +30,7 @@ var fc = new Enumerator(f.SubFolders); for (; !fc.atEnd(); fc.moveNext()) { + WScript.StdOut.WriteLine(fc.item()); find_cvsignore(fc.item()); } @@ -107,7 +108,9 @@ while (!t.atEndOfStream) { l = t.ReadLine(); // don't kill their config.nice file(s) - if (l.match("config\.nice.*")) + if (l.match("config\.nice.*") || + l.match("") || + l.match("*")) continue; rm_r(dir + l); }

« previous php.cvs (#26998) next »