projects
/
lttng-ci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
jjb: Update solaris jobs build script
[lttng-ci.git]
/
scripts
/
lttng-analyses
/
pylint.sh
diff --git
a/scripts/lttng-analyses/pylint.sh
b/scripts/lttng-analyses/pylint.sh
index f95960f25ebc1d457f370a5b799552e5853a7b2b..fb10d465276764c3331ee0f220a0cb0e712005b3 100755
(executable)
--- a/
scripts/lttng-analyses/pylint.sh
+++ b/
scripts/lttng-analyses/pylint.sh
@@
-1,4
+1,4
@@
-#!/bin/sh -exu
+#!/bin/
ba
sh -exu
#
# Copyright (C) 2015 - Michael Jeanson <mjeanson@efficios.com>
#
#
# Copyright (C) 2015 - Michael Jeanson <mjeanson@efficios.com>
#
@@
-28,15
+28,15
@@
export PYTHONPATH="$BABELTRACE_DIR/lib/python${P3_VERSION}/dist-packages/"
PYENV_HOME=$WORKSPACE/.pyenv/
# Delete previously built virtualenv
PYENV_HOME=$WORKSPACE/.pyenv/
# Delete previously built virtualenv
-if [ -d
$PYENV_HOME
]; then
- rm -rf
$PYENV_HOME
+if [ -d
"$PYENV_HOME"
]; then
+ rm -rf
"$PYENV_HOME"
fi
# Create virtualenv and install necessary packages
fi
# Create virtualenv and install necessary packages
-virtualenv --system-site-packages -p $PYTHON3
$PYENV_HOME
+virtualenv --system-site-packages -p $PYTHON3
"$PYENV_HOME"
set +u
set +u
-.
$PYENV_HOME/bin/activate
+.
"$PYENV_HOME/bin/activate"
set -u
pip install --quiet pylint
set -u
pip install --quiet pylint
@@
-44,6
+44,6
@@
pip install --quiet pep8
cd "$SRCDIR"
cd "$SRCDIR"
-pep8 lttnganalyses | tee
$WORKSPACE/pep8.out
+pep8 lttnganalyses | tee
"$WORKSPACE/pep8.out"
-pylint -f parseable --ignore="_version.py"
lttnganalyses | tee $WORKSPACE/pylint.out
+pylint -f parseable --ignore="_version.py"
--disable=C0111 lttnganalyses | tee "$WORKSPACE/pylint.out"
This page took
0.023338 seconds
and
4
git commands to generate.