windows: work around scp weirdness

pull/30/head
Sebastien Bourdeauducq 2019-11-10 18:47:39 +08:00
parent 63625e74b8
commit a4f9732a3d
1 changed files with 4 additions and 2 deletions

View File

@ -53,9 +53,11 @@ stdenv.mkDerivation {
echo "Wait for Windows to boot"
sleep 10
${ssh "ver"}
i=0
for pkg in ${sipycoPkg}/noarch/sipyco*.tar.bz2 ${artiqPkg}/noarch/artiq*.tar.bz2 ; do
${scp "\\$pkg" "to_install.tar.bz2"}
${ssh "anaconda\\scripts\\activate ${condaEnv} && conda install to_install.tar.bz2"}
${scp "\\$pkg" "to_install\\$i.tar.bz2"}
${ssh "anaconda\\scripts\\activate ${condaEnv} && conda install to_install\\$i.tar.bz2"}
((i=i+1))
done
# Schedule a timed shutdown against hanging test runs