Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support dash in ./configure of 0.5.0-RC1 #485

Closed
DorpsGek opened this issue Dec 29, 2006 · 1 comment
Closed

Support dash in ./configure of 0.5.0-RC1 #485

DorpsGek opened this issue Dec 29, 2006 · 1 comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

Anonymous opened the ticket and wrote:

I downloaded the source of 0.5.0-RC1 and tried to compile the software. Everything worked smoothly except for the ./configure script that I had patch a bit.

My /bin/sh points to dash (Debian Almquist Shell) instead of bash. As it is, the configure script doesn't work with dash because the ./configure script uses some features bash supports but dash doesn't. The necessary changes for dash are very tiny and they should not affect bash users at all.

The patch:

- Removes the function keyword from shell functions (that keyword is optional, works with bash but not with dash)

- Replaces references to Makefile.run with ./Makefile.run

I don't know how to attach patches in these feature requests so I put a simple patch on my web page:
http://www.cs.helsinki.fi/u/jnikula/openttd/support-dash-in-configure.diff

Reported version: trunk
Operating system: Linux


This issue was imported from FlySpray: https://bugs.openttd.org/task/485
@DorpsGek
Copy link
Member Author

DorpsGek commented Jan 6, 2007

Rubidium closed the ticket.

Reason for closing: Implemented

In r7893.


This comment was imported from FlySpray: https://bugs.openttd.org/task/485

@DorpsGek DorpsGek closed this as completed Jan 6, 2007
@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) Build system labels Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant