1
0
Fork 0

windows: work around scp weirdness

This commit is contained in:
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" echo "Wait for Windows to boot"
sleep 10 sleep 10
${ssh "ver"} ${ssh "ver"}
i=0
for pkg in ${sipycoPkg}/noarch/sipyco*.tar.bz2 ${artiqPkg}/noarch/artiq*.tar.bz2 ; do for pkg in ${sipycoPkg}/noarch/sipyco*.tar.bz2 ${artiqPkg}/noarch/artiq*.tar.bz2 ; do
${scp "\\$pkg" "to_install.tar.bz2"} ${scp "\\$pkg" "to_install\\$i.tar.bz2"}
${ssh "anaconda\\scripts\\activate ${condaEnv} && conda install to_install.tar.bz2"} ${ssh "anaconda\\scripts\\activate ${condaEnv} && conda install to_install\\$i.tar.bz2"}
((i=i+1))
done done
# Schedule a timed shutdown against hanging test runs # Schedule a timed shutdown against hanging test runs