Skip to content

Commit

Permalink
Fix cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
foobar committed Aug 8, 2005
1 parent 000a9e3 commit 98f245e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/phpize.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 98f245e

Please sign in to comment.