X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=INSTALL.sh;h=2e934fe1de73726a7a69e28e1fbc91848d808c7f;hb=06c425397c3120b1af1388a5176ef130a0e0cc7e;hp=1966ecaa28cd5bd8d429c15620c7a30639b64616;hpb=666fa65c2e532d7edbb755492ab757e2ff0f8762;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