Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31006 - dev-java/ant shell script needs Bash, but calls /bin/sh
Summary: dev-java/ant shell script needs Bash, but calls /bin/sh
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-12 19:12 UTC by Jonathan Rogers
Modified: 2003-10-18 08:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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