Ubuntu build box was calling dash, not bash, and double brackets was breaking it.