1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-08 19:43:48 -05:00

use full path when installing a jar

This commit is contained in:
Josh Friend
2015-05-04 10:35:34 -04:00
parent 1d31529b46
commit e285f2e5b1
2 changed files with 3 additions and 10 deletions

View File

@@ -534,7 +534,9 @@ fetch_jar() {
download_tarball "$package_url" "$package_filename" "$checksum"
fi
{ if $JAVA -jar ${package_name}.jar -s -d ${package_name}; then
# Must use full path to jar and destination directory:
# http://bugs.jython.org/issue2350
{ if $JAVA -jar $PWD/${package_name}.jar -s -d $PWD/${package_name}; then
if [ -z "$KEEP_BUILD_PATH" ]; then
rm -f "$package_filename"
else