control: Add status file
This commit is contained in:
parent
fd1229ddc0
commit
59346fa97e
@ -19,11 +19,13 @@ stdenv.mkDerivation {
|
|||||||
cat > $out <<EOF
|
cat > $out <<EOF
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
for n in \$(seq 1 ${toString loops}); do
|
for n in \$(seq 1 ${toString loops}); do
|
||||||
|
echo "running \$n of ${toString loops}" > status
|
||||||
mkdir "\$n"
|
mkdir "\$n"
|
||||||
cd "\$n"
|
cd "\$n"
|
||||||
${stageProgram nextStage}
|
${stageProgram nextStage}
|
||||||
cd ..
|
cd ..
|
||||||
done
|
done
|
||||||
|
echo "completed" > status
|
||||||
EOF
|
EOF
|
||||||
chmod +x $out
|
chmod +x $out
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user