cvs: phpdoc /scripts/iniupdate update-all.php

From: Date: Thu, 06 Sep 2007 16:29:07 +0000
Subject: cvs: phpdoc /scripts/iniupdate update-all.php
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969378047@lists.php.net to get a copy of this message
nlopess Thu Sep 6 16:29:07 2007 UTC Modified files: /phpdoc/scripts/iniupdate update-all.php Log: fix removal of files with "non-standard" names http://cvs.php.net/viewvc.cgi/phpdoc/scripts/iniupdate/update-all.php?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/scripts/iniupdate/update-all.php diff -u phpdoc/scripts/iniupdate/update-all.php:1.7 phpdoc/scripts/iniupdate/update-all.php:1.8 --- phpdoc/scripts/iniupdate/update-all.php:1.7 Thu Sep 6 16:03:25 2007 +++ phpdoc/scripts/iniupdate/update-all.php Thu Sep 6 16:29: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" | xargs rm -f'; + $cmds[] = 'find ' .$finaldir. ' -type f -and -not -name "*.[chly]" -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 ..";

« previous php.doc (#969378047) next »