A simple and low-cost method for phase-shifting interferometry by the rotation of a polarizer is presented. This proposal takes advantage of the polarization aberration in a cube beam splitter due to its geometry, to the angular dependence with the coating, and to the polarization angle of the input beam. The interferometric setup performs as a two-window common-path interferometer in which the added phase shifting is achieved by simply rotating a polarizer at the interferometer output. The viability of the proposal is sustained with experimental results in which the phase-shift value and the resulting wavefront are calculated with Farrel's technique and the three-step PSI algorithm, respectively.