Updated script again.
export PATH="/Applications/microchip/xc32/v1.11/bin":$PATH
export PATH="/Applications/microchip/xc32/v1.11/bin":$PATH