carriers get files from U2_LIB, new pill

This commit is contained in:
~hatteb-mitlyd 2014-06-03 18:33:35 -07:00
parent d45a407c1d
commit e3a32b69db
2 changed files with 9 additions and 5 deletions

View File

@ -117,7 +117,11 @@ _main_getopt(c3_i argc, c3_c** argv)
break;
}
case 'L': { u2_Host.ops_u.loh = u2_yes; break; }
case 'F': { u2_Host.ops_u.fak = u2_yes; break; }
case 'F': {
u2_Host.ops_u.loh = u2_yes;
u2_Host.ops_u.fak = u2_yes;
break;
}
case 'a': { u2_Host.ops_u.abo = u2_yes; break; }
case 'b': { u2_Host.ops_u.bat = u2_yes; break; }
case 'c': { u2_Host.ops_u.nuu = u2_yes; break; }

View File

@ -307,11 +307,11 @@ _sist_home(u2_reck* rec_u)
}
}
// Copy zod files, if we're generating zod.
// Copy zod files, if we're generating a carrier.
//
if ( u2_Host.ops_u.imp_c && 0 == strcmp(u2_Host.ops_u.imp_c, "~zod") ) {
snprintf(ful_c, 2048, "cp -r %s/zod %s/",
U2_LIB, u2_Host.cpu_c);
if ( u2_Host.ops_u.imp_c ) {
snprintf(ful_c, 2048, "cp -r %s/zod %s/%s",
U2_LIB, u2_Host.cpu_c, u2_Host.ops_u.imp_c+1);
if ( 0 != system(ful_c) ) {
uL(fprintf(uH, "could not %s\n", ful_c));
u2_lo_bail(rec_u);