forked from M-Labs/nix-scripts
windows: work around $i not working in $ssh
This commit is contained in:
parent
a4f9732a3d
commit
525b91cb21
|
@ -53,11 +53,14 @@ 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\\$i.tar.bz2"}
|
||||
${ssh "anaconda\\scripts\\activate ${condaEnv} && conda install to_install\\$i.tar.bz2"}
|
||||
((i=i+1))
|
||||
# FIXME: clean up this hack with the for loops
|
||||
for pkg in ${sipycoPkg}/noarch/sipyco*.tar.bz2 ; do
|
||||
${scp "\\$pkg" "sipyco.tar.bz2"}
|
||||
${ssh "anaconda\\scripts\\activate ${condaEnv} && conda install sipyco.tar.bz2"}
|
||||
done
|
||||
for pkg in ${artiqPkg}/noarch/artiq*.tar.bz2 ; do
|
||||
${scp "\\$pkg" "artiq.tar.bz2"}
|
||||
${ssh "anaconda\\scripts\\activate ${condaEnv} && conda install artiq.tar.bz2"}
|
||||
done
|
||||
|
||||
# Schedule a timed shutdown against hanging test runs
|
||||
|
|
Loading…
Reference in New Issue