Test-fit the shelf before you remove the wax liner paper from the tape. Shim any gaps with additional layers of foam tape, adding extra layers to compensate for an out-of-square corner.
If you have an unused corner and a set of closet doors, here's a perfect opportunity to create an attractive shelf in the fewest steps possible. Whether louvered or paneled, a folding door adds a ...