Fix bash substitution syntax.