Prevent dollar signs and single quotes in variables from being removed by shell

Change-Id: I88782bd60755f96816bf9d06cd57298cb46f8e40
Merge "Prevent dollar signs and single quotes in variables from being removed by shell"