Lines Matching defs:desc
403 static int read_script_info(struct script_desc *desc, const char *filename)
428 desc->half_liner = strdup(ltrim(p));
434 desc->args = strdup(ltrim(p));
452 struct script_desc *desc;
475 desc = script_desc__findnew(script_root);
478 read_script_info(desc, script_path);
485 list_for_each_entry(desc, &script_descs, node) {
486 sprintf(first_half, "%s %s", desc->name,
487 desc->args ? desc->args : "");
489 desc->half_liner ? desc->half_liner : "");