You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2021/02/23 23:02:05 UTC

[GitHub] [incubator-mxnet] leezu commented on a change in pull request #19939: Fix cd by adding to $PATH

leezu commented on a change in pull request #19939:
URL: https://github.com/apache/incubator-mxnet/pull/19939#discussion_r581452814



##########
File path: ci/docker/runtime_functions.sh
##########
@@ -1307,13 +1307,14 @@ cd_pypi_publish() {
 
 cd_s3_publish() {
     set -ex
-    pip3 install --user awscli
+    pip3 install --upgrade --user awscli
     filepath=$(readlink -f wheel_build/dist/*.whl)
     filename=$(basename $filepath)
     variant=$(echo $filename | cut -d'-' -f1 | cut -d'_' -f2 -s)
     if [ -z "${variant}" ]; then
         variant="cpu"
     fi
+    export PATH=/usr/local/bin:$PATH

Review comment:
       Do you mean that `/usr/local/bin` wasn't on the PATH before? Do you know why it worked at all before?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org