Bad:
FOO=bar
Good:
FOO="bar"
if [ -f "${FOO}"/foo/"${BAR}"/bar ] then foobar fi
if [ -f "${FOO}/foo/${BAR}/bar" ] then foobar fi