control: Export the run iteration
This commit is contained in:
parent
734d494d96
commit
d192a59fdc
@ -19,6 +19,7 @@ stdenv.mkDerivation {
|
||||
cat > $out <<EOF
|
||||
#!/bin/sh
|
||||
for n in \$(seq 1 ${toString loops}); do
|
||||
export GARLIC_RUN="\$n"
|
||||
echo "running \$n of ${toString loops}" > status
|
||||
mkdir "\$n"
|
||||
cd "\$n"
|
||||
|
Loading…
Reference in New Issue
Block a user