Hello,
I'm just wondering why edje_decc writes a build.sh with this content:
edje_edit $@ -id . -fd . generated_source.edc -o screens.edj
This for sure doesn't work. I searched the sources and found this in
edje_decc.c:
if (build_sh)
{
snprintf(out, sizeof(out), "%s/build.sh", outdir);
printf("Output Build Script: %s\n", out);
if (strstr(out, "../"))
{
ERR("potential security violation. attempt to write in parent
dir.\n");
exit (-1);
}
f = fopen(out, "wb");
fprintf(f, "#!/bin/sh\n");
fprintf(f, "%s $@ -id . -fd . %s -o %s.edj\n",
edje_file->compiler, sf->name, outdir);
fclose(f);
WRN("\n*** CAUTION ***\n"
"Please check the build script for anything malicious "
I edited this files ages ago with edje_edit. I think because of this
edje_file->compiler is
"edje_edit". But running build.sh doesn't work here. Couldn't we just always
use edje_cc?
regards
Andreas
--
Technical Blog <http://andreasvolz.wordpress.com/>
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel