2 # script args: source_file target_file
7 # file will be modified in place
10 echo "Adding to $1 graphviz snipet $2 ..."
11 sed -i "/digraph/r $2" $1
18 echo "Applying to $1 patch $2 ..."
24 apply_patch $2 deps.patch
25 include_dot_snippet $2 daemons.dot
26 if [ "$use_clusters" = "yes" ]; then
27 include_dot_snippet $2 clusters.dot