2
0
mirror of https://github.com/koreader/koreader synced 2024-11-10 01:10:34 +00:00
Commit Graph

4 Commits

Author SHA1 Message Date
Benoit Pierre
a4400b3ccb tools/mk7z: support debian unstable / ubuntu 22.04
The version of `7z` provided by `p7zip-full` is now the same as `7zip`:

- symlinks are dereferenced by default (no support for `-l`)
- `7z -ba h` appends a trailing `/` to directories
  (not present in the output of `7z -slt l`)
2024-05-12 09:47:44 +02:00
Benoit Pierre
2d4b12c99c tools/mk7z: tweak manifest handling code
To support mawk (default awk on debian unstable).
2024-05-12 09:47:44 +02:00
Benoit Pierre
e921ed1bc7 tools/mk7z: fix subtle bug in manifest handling
A string like `1E2` is interpreted as `100` (`1×10²`):

```bash
▹ echo 0E036904 | awk '{ if ($1) print $1 }'
▹ echo 0E036904 | awk '{ if ($1!="") print $1 }'
0E036904
```
2024-05-12 09:47:44 +02:00
Benoit Pierre
ded5558b88 android: speed up development cycle
Don't recreate `assets.7z` from scratch every time, and also
ensure it's reproducible to avoid busting gradle's cache.
2023-07-10 22:46:53 +02:00