b5a41376a7
svn path=/nixpkgs/trunk/; revision=3281
10 lines
245 B
Bash
10 lines
245 B
Bash
. $stdenv/setup
|
|
|
|
ensureDir $out
|
|
|
|
for ((i = 1; i <= $nrFrames; i++)); do
|
|
echo "producing frame $i...";
|
|
targetName=$out/$(basename $(stripHash $dotGraph; echo $strippedName) .dot)-f-$i.dot
|
|
cpp -DFRAME=$i < $dotGraph > $targetName
|
|
done
|