aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x.download_from_Kalray.sh17
1 files changed, 12 insertions, 5 deletions
diff --git a/.download_from_Kalray.sh b/.download_from_Kalray.sh
index a7f28d5a..563a5cad 100755
--- a/.download_from_Kalray.sh
+++ b/.download_from_Kalray.sh
@@ -1,8 +1,15 @@
#!/bin/sh
mkdir download
cd download
-sshpass "-p$KALRAY_SFTP_PASSWORD" sftp -o "StrictHostKeyChecking=no" compcert@ssh.kalray.eu <<EOF
-cd files
-get DEB.tar
-EOF
-tar xf DEB.tar
+# sshpass "-p$ sftp -o "StrictHostKeyChecking=no" compcert@ssh.kalray.eu <<EOF
+# cd files
+# get DEB.tar
+# EOF
+# tar xf DEB.tar
+VERSION=ACE4.6.0
+FILE=$VERSION.tgz
+DEBPATH=$VERSION/ACE-acceleration/ubuntu1804/tools/DEB
+sshpass "-p$KALRAY_SFTP_PASSWORD" rsync --progress -a certicompil@pressembois.imag.fr:Kalray/ACE4.6.0.tgz .
+tar xvfz $FILE $DEBPATH/
+mv $DEBPATH/*.deb .
+rm -rf $VERSION