cvs: php-src /scripts phpize.in
| From: | Jani Taskinen | Date: | Mon, 08 Aug 2005 16:58:12 +0000 |
| Subject: | cvs: php-src /scripts phpize.in | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-33218@lists.php.net to get a copy of this message | ||
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
}