Commit 2b61a6a
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 5a8da94 commit 2b61a6a
2 files changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
| 35 | + | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
0 commit comments