watson-intu / self-sdk

Other
44 stars 18 forks source link

Linux build attempts to download toolchains even if they exist: #12

Open elaske opened 7 years ago

elaske commented 7 years ago
$ ls packages/
naoqi-sdk-2.1.4.13-linux64.zip

Running the build attempts to download it even though it exists:

$ ./scripts/build_linux.sh 
[ERROR]: Exception No such toolchain: linux-self
Known toolchains are:
Downloading toolchain naoqi-sdk-2.1.4.13-linux64.zip...

In tc_install.sh you should probably check that the file exists before downloading. Same with Self-SDK-Linux.zip.

elaske commented 7 years ago

An easy solution to this would be just to add the -z flag in the curl command that downloads the toolchain.

LabPM commented 7 years ago

Related to https://github.com/watson-intu/self-sdk/issues/11