Fix patch errors requested by @xeffyr
This commit is contained in:
parent
ba9ec72dcf
commit
6c09a09f53
@ -5,7 +5,7 @@
|
||||
{
|
||||
/* dot -Tpng -o /tmp/source.png < /tmp/source.gv */
|
||||
- FILE *fp = fopen("/tmp/source.gv", "w");
|
||||
+ FILE *fp = fopen("@TERMUX_PREFIX@/source.gv", "w");
|
||||
+ FILE *fp = fopen("@TERMUX_PREFIX@/tmp/source.gv", "w");
|
||||
|
||||
fprintf(fp, "%s", buf.data);
|
||||
fclose(fp);
|
||||
@ -14,7 +14,7 @@
|
||||
{
|
||||
/* dot -Tpng -o /tmp/transformed.png < /tmp/transformed.gv */
|
||||
- FILE *fp = fopen("/tmp/transformed.gv", "w");
|
||||
+ FILE *fp = fopen("@TERMUX_PREFIX@/transformed.gv", "w");
|
||||
+ FILE *fp = fopen("@TERMUX_PREFIX@/tmp/transformed.gv", "w");
|
||||
|
||||
fprintf(fp, "%s", buf.data);
|
||||
fclose(fp);
|
||||
@ -23,7 +23,7 @@
|
||||
{
|
||||
/* dot -Tpng -o /tmp/packed.png < /tmp/packed.gv */
|
||||
- FILE *fp = fopen("/tmp/packed.gv", "w");
|
||||
+ FILE *fp = fopen("@TERMUX_PREFIX@/packed.gv", "w");
|
||||
+ FILE *fp = fopen("@TERMUX_PREFIX@/tmp/packed.gv", "w");
|
||||
|
||||
fprintf(fp, "%s", buf.data);
|
||||
fclose(fp);
|
||||
|
Loading…
Reference in New Issue
Block a user