Skip to content

Commit

Permalink
Fix minor version detection for Lua 5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mpeterv committed Apr 13, 2016
1 parent 44002ee commit 15119a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hererocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,7 @@ def minor_version_from_source():

def get_minor_version(self):
if self.source == "release":
return self.version[-1:]
return "0" if self.version == "5.1" else self.version[-1:]
else:
return self.minor_version_from_source()

Expand Down

0 comments on commit 15119a1

Please sign in to comment.