gvvaughan / luke

A light-weight, self-bootstrapping software build utility.
MIT License
20 stars 3 forks source link

Matching of name in name-value pairs on the command line is too permissive. #1

Closed CMB closed 7 years ago

CMB commented 7 years ago

I found this issue while building luaposix. If a name=value pair is given on the command line, luke allows the name to contain an equals sign, since the match (.+)=(.+) greedily matches = in the name. I don't think there should be a reason to allow = in variable names.

gvvaughan commented 7 years ago

Well spotted! And thanks for the PR. Merged.