mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-27 20:02:15 +00:00
call install_onnx.sh with relative path (#1225)
* call install_onnx with relative path * use caller path * get abs path of current script * process unicode char * replace script name * add suffix as part of match * match only the end of path
This commit is contained in:
parent
2d0e5231da
commit
a4148c85a5
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ fi
|
|||
if [ "$INSTALLED_PYTHON_VERSION" = "3.4" ];then
|
||||
echo "Python 3.5 and above is needed for running onnx tests!" 1>&2
|
||||
else
|
||||
source /tmp/scripts/install_onnx.sh $INSTALLED_PYTHON_VERSION
|
||||
source ${0/%install_deps\.sh/install_onnx\.sh} $INSTALLED_PYTHON_VERSION
|
||||
fi
|
||||
|
||||
#The last onnx version will be kept
|
||||
|
|
|
|||
Loading…
Reference in a new issue