control: Export the run iteration
This commit is contained in:
parent
734d494d96
commit
d192a59fdc
@ -19,6 +19,7 @@ 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
|
||||||
|
export GARLIC_RUN="\$n"
|
||||||
echo "running \$n of ${toString loops}" > status
|
echo "running \$n of ${toString loops}" > status
|
||||||
mkdir "\$n"
|
mkdir "\$n"
|
||||||
cd "\$n"
|
cd "\$n"
|
||||||
|
Loading…
Reference in New Issue
Block a user