Duh, don't do squats if it hurts!
But permanent is a long time...
I would do exactly what you are doing.