Fix cleanup

This commit is contained in:
foobar 2005-08-08 16:58:12 +00:00
parent 000a9e3015
commit 98f245e5f9

View file

@ -36,7 +36,11 @@ phpize_clean()
{ {
echo "Cleaning.." echo "Cleaning.."
for i in $CLEAN_FILES; do 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 done
} }