mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
82e678362f
svn path=/nixpkgs/trunk/; revision=4335
10 lines
250 B
Bash
10 lines
250 B
Bash
source $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
|