Skip to content

Commit f4625df

Browse files
committed
fix: Update python.path to be the Lib folder
1 parent 2c5c4cb commit f4625df

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ runs:
152152
# # Created on XXX by @user.name@
153153
#
154154
# "@jvm@" -Dpython.home="@location._top_@" -classpath "@location._top_@/jython.jar:$CLASSPATH" "@classname@" "$@"
155-
jython_cmd="java -verbose -Dpython.path=${installation_path} -Dpython.home=${installation_path} -cp ${installation_path}/jython.jar org.python.util.jython \"\$@\""
155+
jython_cmd="java -verbose -Dpython.path=${installation_path}/Lib -Dpython.home=${installation_path} -cp ${installation_path}/jython.jar org.python.util.jython \"\$@\""
156156
;;
157157
158158
jar)
@@ -170,7 +170,7 @@ runs:
170170
run: |
171171
$installation_path = Convert-Path "${{ inputs.installation-path }}"
172172
if ("${{ steps.find_installer.outputs.file_type }}" -eq "class") {
173-
$jython_cmd = "java -Dpython.path=${installation_path} -Dpython.home=$installation_path -cp $installation_path\jython.jar org.python.util.jython %*"
173+
$jython_cmd = "java -Dpython.path=${installation_path}/Lib -Dpython.home=$installation_path -cp $installation_path\jython.jar org.python.util.jython %*"
174174
} else {
175175
$jython_cmd = "java -jar $installation_path\jython.jar %*"
176176
}

0 commit comments

Comments
 (0)