From: Matteo Nastasi (mop) Date: Thu, 27 Jan 2011 07:18:39 +0000 (+0100) Subject: lintian check added to INSTALL.sh X-Git-Tag: 3.1.0~27 X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=6439161bcddfa229747cd24f79ef13ecb7cf9060;p=brisk.git lintian check added to INSTALL.sh --- diff --git a/INSTALL.sh b/INSTALL.sh index 6b3e35c..8b7ea98 100755 --- a/INSTALL.sh +++ b/INSTALL.sh @@ -15,6 +15,11 @@ proxy_path="$HOME/brisk-priv/proxy" web_only="FALSE" brisk_conf="brisk.conf.pho" +if [ "$1" = "--ck" ]; then + find -name '*.pho' -o -name '*.phh' -o -name '*.php' -exec php5 -l {} \; + exit 0 +fi + if [ -f $HOME/.brisk_install ]; then . $HOME/.brisk_install fi @@ -24,6 +29,7 @@ fi function usage () { echo echo "$1 -h" + echo "$1 --ck - run lintian on all ph* files." echo "$1 [-W] [-n 3|5] [-t <(n>=4)>] [-T ] [-a ] [-f conffile] [-p outconf] [-d TRUE|FALSE] [-w web_dir] [-k ] [-l ] [-y ] [-c ]" echo " -h this help" echo " -f use this config file"