Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ticket #4559: extfs: u7z: bug with nested dirs in mkdir action.
The -w option sets the working directory for the temporary archive 7-zip builds when modifying an existing one. The option cant be used to set the base path inside an archive when adding something into it. When adding something to a 7z archive by its absolute path, 7zip only uses the last part of the path by default. E.g. `7z a 1.7z /tmp/a/b/date.txt` would add date.txt to the root dir inside the archive. If we wanted the file to be under `a/b/` inside the archive as well, it should be `7z a 1.7z /tmp/a`. Closes #202. Signed-off-by: Andrew Borodin <[email protected]>
- Loading branch information