2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
koreader/platform/cervantes/spinning_zsync
NiLuJe de15ab3a87
Unbreak OTA on crappy shells (#5850)
* Unbreak OTA on crappy shells

  Very, very old ash versions abort on set -o failures (as mandated by
POSIX, granted). This makes it impossible to reliably catch failures in
a single step.

So do it from the Lua side instead.

Should fix #5844

* Launch the zsync wrapper through bash on Cervantes
2020-02-12 00:07:05 +01:00

8 lines
160 B
Bash
Executable File

#!/bin/bash
# NOTE: We can use pipefail via bash on Cervantes
# c.f., #5844 & #5850
export WITH_PIPEFAIL="true"
exec /bin/bash ./spinning_zsync.sh "$@"