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 ..";
 

Reply via email to