BASH treats anything in single-quotes as a literal string, and will not try to interpolate any variables. You probably want to be using double-quotes instead.