Commit 6f615f5
authored
Fix sysroot installation when emscripten itself is read-only (#24405)
The resulting header tree need to be at least user-writable so that we
can incrementally copy files into it, adding new files and also updating
previously copied ones.
Sadly, python's shutil doesn't seem to have any options for disabling
the copying of mode bits.
This was originally fixed in #15386 but then regressed in #23417.
Fixes: #244041 parent fdad3e9 commit 6f615f5
3 files changed
+45
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
38 | 47 | | |
39 | 48 | | |
40 | 49 | | |
| |||
460 | 469 | | |
461 | 470 | | |
462 | 471 | | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
463 | 489 | | |
464 | 490 | | |
465 | 491 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
694 | 694 | | |
695 | 695 | | |
696 | 696 | | |
697 | | - | |
| 697 | + | |
698 | 698 | | |
699 | 699 | | |
700 | 700 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2453 | 2453 | | |
2454 | 2454 | | |
2455 | 2455 | | |
2456 | | - | |
2457 | | - | |
| 2456 | + | |
| 2457 | + | |
| 2458 | + | |
| 2459 | + | |
| 2460 | + | |
| 2461 | + | |
| 2462 | + | |
| 2463 | + | |
| 2464 | + | |
| 2465 | + | |
| 2466 | + | |
| 2467 | + | |
| 2468 | + | |
| 2469 | + | |
| 2470 | + | |
2458 | 2471 | | |
2459 | 2472 | | |
2460 | 2473 | | |
| |||
2477 | 2490 | | |
2478 | 2491 | | |
2479 | 2492 | | |
2480 | | - | |
| 2493 | + | |
2481 | 2494 | | |
2482 | 2495 | | |
2483 | 2496 | | |
2484 | | - | |
| 2497 | + | |
2485 | 2498 | | |
2486 | 2499 | | |
2487 | 2500 | | |
2488 | | - | |
| 2501 | + | |
2489 | 2502 | | |
2490 | 2503 | | |
2491 | 2504 | | |
| |||
0 commit comments