10 lines
238 B
Bash
10 lines
238 B
Bash
|
. $stdenv/setup
|
||
|
|
||
|
ensureDir $out
|
||
|
|
||
|
for i in $(seq 1 $nrFrames); do
|
||
|
echo "producing frame $i...";
|
||
|
targetName=$out/$(basename $(stripHash $dotGraph; echo $strippedName) .dot)-f-$i.dot
|
||
|
cpp -DFRAME=$i < $dotGraph > $targetName
|
||
|
done
|