Bug 31006 - dev-java/ant shell script needs Bash, but calls /bin/sh
Bug#: 31006 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: java@gentoo.org Reported By: jonner@teegra.net
Component: Development
URL: 
Summary: dev-java/ant shell script needs Bash, but calls /bin/sh
Keywords:  
Status Whiteboard: 
Opened: 2003-10-12 19:12 0000
Description:   Opened: 2003-10-12 19:12 0000
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

------- Comment #1 From Adrian Almenar 2003-10-18 08:03:24 0000 -------
Fixed