Remove the cache directory itself rather than its only content

This commit is contained in:
Antonin Décimo
2013-11-08 18:29:27 +01:00
parent c828412056
commit 514dfc8057

View File

@@ -184,7 +184,7 @@ do
LOVE_SUPPORT_WIN_64=`echo "$LOVE_VERSION_MAJOR>=0.8" | bc`
fi
elif [ $OPTOPT = "refresh" ]; then
rm -rf $CACHE_DIR/*
rm -rf $CACHE_DIR
fi
done
shift $[OPTIND-1]