jythontools / clamp

Implements clamp in Python. Pre-alpha version - API subject to change.
Apache License 2.0
38 stars 10 forks source link

Normalize JAR paths before conditional #1

Closed philk closed 11 years ago

philk commented 11 years ago

In a Docker 12.04 container and a clean 12.04 VM image singlejar fails with the message:

Exception: Cannot find jython jar

Because the if condition on L257 and L260 is receiving the path:

/opt/jython-ssl/dist/bin/jython/../../jython-dev.jar

This normalizes the path before testing it.

jimbaker commented 11 years ago

+1, thanks!