Add --enable-build-man-pages to tools dist build
[lttng-ci.git] / scripts / babeltrace / pylint.sh
old mode 100644 (file)
new mode 100755 (executable)
index 0971938..4a7e38a
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -exu
 #
 # Copyright (C) 2015 - Michael Jeanson <mjeanson@efficios.com>
 #
@@ -15,7 +15,7 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-BABELTRACE_DIR="dependencies/babeltrace/build"
+BABELTRACE_DIR="deps/babeltrace/build"
 BINDINGS_DIR="$BABELTRACE_DIR/lib/python3.4/dist-packages/babeltrace"
 
 PYENV_HOME="$WORKSPACE/.pyenv/"
@@ -27,7 +27,11 @@ fi
 
 # Create virtualenv and install necessary packages
 virtualenv --system-site-packages -p python3 $PYENV_HOME
+
+set +u
 . $PYENV_HOME/bin/activate
+set -u
+
 pip install --quiet pylint
 pip install --quiet pep8
 
This page took 0.022989 seconds and 4 git commands to generate.