doh, bash wants a space after if [