Skip to content

Commit 2a3a1da

Browse files
author
Vladimir Kotal
committed
check for errors
1 parent d43737a commit 2a3a1da

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

dev/install-python-packages.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
#!/bin/bash
22

33
python3 -m pip install --upgrade pip
4+
45
python3 -m pip install -r opengrok-tools/src/main/python/requirements.txt
6+
if [[ $? != 0 ]]; then
7+
echo "cannot install Python requirement packages"
8+
exit 1
9+
fi
10+
511
python3 -m pip install pep8 flake8 virtualenv pylint
12+
if [[ $? != 0 ]]; then
13+
echo "cannot install Python packages"
14+
exit 1
15+
fi

0 commit comments

Comments
 (0)