Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 31006

Summary: dev-java/ant shell script needs Bash, but calls /bin/sh
Product: Gentoo Linux Reporter: Jonathan Rogers <jonner>
Component: [OLD] DevelopmentAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jonathan Rogers 2003-10-12 19:12:53 UTC
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 Adrian Almenar 2003-10-18 08:03:24 UTC
Fixed