diff options
author | foobar <sniper@php.net> | 2005-08-08 16:58:12 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2005-08-08 16:58:12 +0000 |
commit | 98f245e5f91b51b051199f91453e2a8998db7c52 (patch) | |
tree | 128993224052e7717d03d89fb8c68e1ac78e7fe3 /scripts | |
parent | 000a9e30156cd99a7612089dfd1f8799a963132f (diff) | |
download | php-git-98f245e5f91b51b051199f91453e2a8998db7c52.tar.gz |
Fix cleanup
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/phpize.in | 6 |
1 files changed, 5 insertions, 1 deletions
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 } |