#!/bin/sh

if which ctags-exuberant >/dev/null 2>&1 ; then
    if echo $@|grep -- "--language-force=php" >/dev/null 2>&1 ; then
        ctags-exuberant $(echo $@ | sed 's/--language-force=php//' | sed 's/--php-types=[^ ]*//')
    else
        ctags-exuberant $@
    fi
fi

