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

mkcamlp4 option parsing problem #3941

Closed
vicuna opened this issue Dec 30, 2005 · 1 comment
Closed

mkcamlp4 option parsing problem #3941

vicuna opened this issue Dec 30, 2005 · 1 comment

Comments

@vicuna
Copy link

vicuna commented Dec 30, 2005

Original bug ID: 3941
Reporter: Christoph Bauer
Assigned to: @mauny
Status: closed (set by @xavierleroy on 2007-02-21T15:21:57Z)
Resolution: fixed
Priority: normal
Severity: trivial
Fixed in version: 3.09.3
Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues

Bug description

This problem occurs on ocaml-3.09.0/mingw.

mkcamlp4 is called (in the package HereDoc) with
$ mlcamlp4 -o ...
which leads to an error: basename doesn't know the option -o.

The trivial fix is to add `--' to the basename call in mkcamlp4.

    j=`basename -- "$1" .cmi`

File attachments

@vicuna
Copy link
Author

vicuna commented Jan 3, 2006

Comment author: @mauny

Improved the selection of .cmi args of mkcamlp4.sh.tpl (patch, configure and make to apply).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant