The ant shell script starts with "#! /bin/sh", but it contains Bash-specific syntax. This issue is trivial to fix by replacing "/bin/sh" with "/bin/bash". Reproducible: Always Steps to Reproduce: 1.emerge app-shells/ash 2.replace /bin/sh with a symlink to /bin/ash 3.run ant Actual Results: [: 87: ==: unexpected operator Buildfile: build.xml does not exist! Build failed Expected Results: Buildfile: build.xml does not exist! Build failed
Fixed