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