cvs: phpdoc /scripts/iniupdate update-all.php
| From: | Nuno Lopes | Date: | Thu, 06 Sep 2007 17:52:07 +0000 |
| Subject: | cvs: phpdoc /scripts/iniupdate update-all.php | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969378049@lists.php.net to get a copy of this message | ||
nlopess Thu Sep 6 17:52:07 2007 UTC
Modified files:
/phpdoc/scripts/iniupdate update-all.php
Log:
do not delete C++ files
http://cvs.php.net/viewvc.cgi/phpdoc/scripts/iniupdate/update-all.php?r1=1.8&r2=1.9&diff_format=u
Index: phpdoc/scripts/iniupdate/update-all.php
diff -u phpdoc/scripts/iniupdate/update-all.php:1.8 phpdoc/scripts/iniupdate/update-all.php:1.9
--- phpdoc/scripts/iniupdate/update-all.php:1.8 Thu Sep 6 16:29:07 2007
+++ phpdoc/scripts/iniupdate/update-all.php Thu Sep 6 17:52:07 2007
@@ -67,7 +67,7 @@
$cmds[] = "mv $dir $finaldir";
}
- $cmds[] = 'find ' .$finaldir. ' -type f -and -not -name "*.[chly]"
-and -not -name "*.ec" -and -not -name "*.lex" -delete';
+ $cmds[] = 'find ' .$finaldir. ' -type f -and -not -regex
".*\.\([chly]\|cpp\|cc\)" -and -not -name "*.ec" -and -not -name
"*.lex" -delete';
$cmds[] = 'while ( find ' .$finaldir. ' -depth -mindepth 1 -type d -and -empty |
xargs rm -r 2>/dev/null ) ; do true ; done';
$cmds[] = "mv $finaldir ..";