Fixed variable expansion in shell.