X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=INSTALL.sh;h=2e934fe1de73726a7a69e28e1fbc91848d808c7f;hb=b3b62ac96b554e6e893176d2e6f22ae660587b5c;hp=1966ecaa28cd5bd8d429c15620c7a30639b64616;hpb=ba4bca945d08c2719ce49625d493e5760c28a528;p=brisk.git diff --git a/INSTALL.sh b/INSTALL.sh index 1966eca..2e934fe 100755 --- a/INSTALL.sh +++ b/INSTALL.sh @@ -95,6 +95,14 @@ if [ "$1" = "chk" ]; then for i in $(find -name '*.pho' -o -name '*.phh' -o -name '*.php'); do php5 -l $i done + + taggit="$(git describe --tags | sed 's/^v//g')" + tagphp="$(grep "^\$G_brisk_version = " web/Obj/brisk.phh | sed 's/^[^"]\+"//g;s/".*//g')" + if [ "$taggit" != "v$tagphp" ]; then + echo + echo "WARNING: taggit: [$taggit] tagphp: [$tagphp]" + echo + fi exit 0 fi