Commit 18aec30
authored
install_addon() didn't take into account dir paths with trailing slashes (#13694)
* install_addon() didn't take into account dir paths with trailing slashes
If install_addon() was called with a path argument pointing to
to an extension directory and the path argument value itself ended
with a trailing slash, install_addon() would eat the first
character of each file it would be adding to the synthetized xpi file.
Fixes #13685
* replacing os.rpath with os.path.normpath()
suggested by codiumai-pr-agent-pro1 parent 0e4e739 commit 18aec30
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
129 | 132 | | |
130 | 133 | | |
131 | 134 | | |
| |||
0 commit comments