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"
|
echo "Wait for Windows to boot"
|
||||||
sleep 10
|
sleep 10
|
||||||
${ssh "ver"}
|
${ssh "ver"}
|
||||||
i=0
|
# FIXME: clean up this hack with the for loops
|
||||||
for pkg in ${sipycoPkg}/noarch/sipyco*.tar.bz2 ${artiqPkg}/noarch/artiq*.tar.bz2 ; do
|
for pkg in ${sipycoPkg}/noarch/sipyco*.tar.bz2 ; do
|
||||||
${scp "\\$pkg" "to_install\\$i.tar.bz2"}
|
${scp "\\$pkg" "sipyco.tar.bz2"}
|
||||||
${ssh "anaconda\\scripts\\activate ${condaEnv} && conda install to_install\\$i.tar.bz2"}
|
${ssh "anaconda\\scripts\\activate ${condaEnv} && conda install sipyco.tar.bz2"}
|
||||||
((i=i+1))
|
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
|
done
|
||||||
|
|
||||||
# Schedule a timed shutdown against hanging test runs
|
# Schedule a timed shutdown against hanging test runs
|
||||||
|
Loading…
Reference in New Issue
Block a user