mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-24 07:01:11 -05:00
build: fail on errors when installing chktex (#5214)
Refactor the chktex installation scripts because lists of commands don't fail if one of them exits with an error, even if set -e (errexit) is set. See the Bash reference manual, section 4.3.1 'The Set Builtin'.
This commit is contained in:
parent
5c67776f9d
commit
92e9cb3c85
1 changed files with 7 additions and 6 deletions
|
@ -11,12 +11,13 @@ apk add --no-cache --virtual .chktex-build-deps \
|
||||||
libtool \
|
libtool \
|
||||||
make
|
make
|
||||||
|
|
||||||
git clone https://git.savannah.gnu.org/git/chktex.git &&
|
git clone https://git.savannah.gnu.org/git/chktex.git
|
||||||
cd chktex/chktex &&
|
|
||||||
./autogen.sh --prefix=/usr/bin &&
|
cd chktex/chktex
|
||||||
./configure &&
|
./autogen.sh --prefix=/usr/bin
|
||||||
make &&
|
./configure
|
||||||
install chktex /usr/bin
|
make
|
||||||
|
install chktex /usr/bin
|
||||||
|
|
||||||
rm -rfv /chktex
|
rm -rfv /chktex
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue