sniper Mon Aug 8 12:58:12 2005 EDT
Modified files:
/php-src/scripts phpize.in
Log:
Fix cleanup
http://cvs.php.net/diff.php/php-src/scripts/phpize.in?r1=1.27&r2=1.28&ty=u
Index: php-src/scripts/phpize.in
diff -u php-src/scripts/phpize.in:1.27 php-src/scripts/phpize.in:1.28
--- php-src/scripts/phpize.in:1.27 Mon Aug 8 12:06:49 2005
+++ php-src/scripts/phpize.in Mon Aug 8 12:58:12 2005
@@ -36,7 +36,11 @@
{
echo "Cleaning.."
for i in $CLEAN_FILES; do
- test -f $i && rm -rf $i
+ if test -f "$i"; then
+ rm -f $i
+ elif test -d "$i"; then
+ rm -rf $i
+ fi
done
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php