Commit 67a0595
fix: write composer.json name into autoload.php at build time, no runtime file I/O
Replace runtime json_decode(file_get_contents()) fallback with a build-time
sed injection: debian/rules replaces the 'unknown' placeholder with the
PKG_SOURCE value (jq .name from composer.json), keeping full compatibility
with composer package naming conventions.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 56ee154 commit 67a0595
2 files changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
0 commit comments