You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by mh...@apache.org on 2020/08/06 21:38:50 UTC

[openwhisk-apigateway] branch rclone-fix created (now 733788e)

This is an automated email from the ASF dual-hosted git repository.

mhamann pushed a change to branch rclone-fix
in repository https://gitbox.apache.org/repos/asf/openwhisk-apigateway.git.


      at 733788e  fix(rclone): use official install mechanism

This branch includes the following new commits:

     new 733788e  fix(rclone): use official install mechanism

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[openwhisk-apigateway] 01/01: fix(rclone): use official install mechanism

Posted by mh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

mhamann pushed a commit to branch rclone-fix
in repository https://gitbox.apache.org/repos/asf/openwhisk-apigateway.git

commit 733788e1502a16fbdeadabaf042615068a0d9c42
Author: Matt Hamann <mh...@us.ibm.com>
AuthorDate: Thu Aug 6 17:38:35 2020 -0400

    fix(rclone): use official install mechanism
---
 build_config_supervisor.sh | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/build_config_supervisor.sh b/build_config_supervisor.sh
index 6bb01d2..2f6f3ba 100644
--- a/build_config_supervisor.sh
+++ b/build_config_supervisor.sh
@@ -39,8 +39,12 @@ GOPATH=/tmp/go/vendor:/tmp/go-src CGO_ENABLED=0 GOOS=linux /usr/lib/go/bin/godep
 mv /tmp/go/api-gateway-config-supervisor /usr/local/sbin/
 
 echo "installing rclone sync ... "
-go get github.com/ncw/rclone
-mv /usr/lib/go/bin/rclone /usr/local/sbin/
+mkdir -p /tmp/rclone
+cd /tmp/rclone
+curl -O https://downloads.rclone.org/rclone-current-linux-amd64.zip
+unzip rclone-current-linux-amd64.zip
+cd rclone-*-linux-amd64
+mv ./rclone /usr/local/sbin/
 mkdir -p /root/.config/rclone/
 cat <<EOF > /root/.config/rclone/rclone.conf
 [local]