forked from M-Labs/nix-scripts
windows: work around scp weirdness
This commit is contained in:
parent
63625e74b8
commit
a4f9732a3d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue