![Profpatsch](/assets/img/avatar_default.png)
`stripHash` documentation states that it prints out the stripped name to the stdout, but the function stored the value in `strippedName` instead. Basically all usages did something like `$(stripHash $foo | echo $strippedName)` which is just braindamaged. Fixed the implementation and all invocations.
10 lines
229 B
Bash
10 lines
229 B
Bash
source $stdenv/setup
|
|
|
|
mkdir -p $out
|
|
|
|
for ((i = 1; i <= $nrFrames; i++)); do
|
|
echo "producing frame $i...";
|
|
targetName=$out/$(basename $(stripHash $dotGraph) .dot)-f-$i.dot
|
|
cpp -DFRAME=$i < $dotGraph > $targetName
|
|
done
|