Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix cleanup

  • Loading branch information...
commit 98f245e5f91b51b051199f91453e2a8998db7c52 1 parent 000a9e3
foobar authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 scripts/phpize.in
View
6 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
}
Please sign in to comment.
Something went wrong with that request. Please try again.