Commit c2aa566c authored by Claes Sjofors's avatar Claes Sjofors

Conversion wbl to html, error message for missing java script class menu removed

parent 5412cec6
......@@ -422,9 +422,9 @@ int CnvWblToHtml::close()
}
#endif
char cmd[400];
sprintf( cmd, "cat %s/*.jsf %s/../../orm_menu.js > %s/menu.js", ctx->dir,
ctx->dir, ctx->dir);
char cmd[600];
snprintf( cmd, sizeof(cmd), "if [ -e %s/../../orm_menu.js ]; then cat %s/*.jsf %s/../../orm_menu.js > %s/menu.js; fi",
ctx->dir, ctx->dir, ctx->dir, ctx->dir);
system( cmd);
return 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment