minor improvements of pylint script

This commit is contained in:
lars 2007-01-08 02:27:37 +00:00
parent 706a4b2b6f
commit 092df74547

View file

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# #
# set some environmental variables for pylint # set some environmental variables for pylint and run it
# #
PROJ_DIR=$(dirname "$0")/.. PROJ_DIR=$(dirname "$0")/..
@ -29,6 +29,7 @@ while test $# -gt 0
export PYTHONPATH export PYTHONPATH
export PYLINTRC export PYLINTRC
[ ! -x /usr/bin/pylint ] && echo "please run \"apt-get install pylint\" first" && exit 1 [ ! -x /usr/bin/pylint ] && echo >&2 "please run \"apt-get install pylint\" first" && exit 1
pylint $ARGS pylint $ARGS