From: foobar Date: Mon, 8 Aug 2005 16:58:12 +0000 (+0000) Subject: Fix cleanup X-Git-Tag: BEFORE_UNICODE_MERGE~44 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=98f245e5f91b51b051199f91453e2a8998db7c52;p=php Fix cleanup --- diff --git a/scripts/phpize.in b/scripts/phpize.in index ae7ef56486..eed03fc74e 100644 --- a/scripts/phpize.in +++ b/scripts/phpize.in @@ -36,7 +36,11 @@ phpize_clean() { 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 }