mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 18:12:47 +03:00
carriers get files from U2_LIB, new pill
This commit is contained in:
parent
d45a407c1d
commit
e3a32b69db
6
v/main.c
6
v/main.c
@ -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; }
|
||||
|
8
v/sist.c
8
v/sist.c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user