Unexpected behaviour of GTAGSLIBPATH

Mandar Mitra <[email protected]> Thu, 27 Feb 2020 18:58:09 +0530
Newsgroups gmane.comp.gnu.global.general
Message-ID <CAMHN7jtYzAeiMo6Y60rMNAUxRoK3oi1iRfu4qGEMkLL+C7p_TQ@mail.gmail.com>
--000000000000f8bf15059f8eb157
Content-Type: text/plain; charset="UTF-8"

I'd be grateful for any suggestions regarding where I may be goofing up
below.

xps12$ export GTAGSLIBPATH=/home/mandar/ir/smart/src
xps12$ echo $GTAGSLIBPATH
/home/mandar/ir/smart/src
xps12$ global -i textloc
h/textloc.h
xps12$ pwd
/home/mandar/ir/smart/src
xps12$ cd
xps12$ global -i textloc
global: GTAGS not found.
xps12$

Why can global not find the GTAGS file when I run the last command?

Thanks!

--000000000000f8bf15059f8eb157
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div dir=3D"auto">I&#39;d be grateful for any suggestions=
 regarding where I may be goofing up below.=C2=A0</div><div dir=3D"auto"><b=
r></div><div dir=3D"auto">xps12$ export GTAGSLIBPATH=3D/home/mandar/ir/smar=
t/src    </div><div dir=3D"auto">xps12$ echo $GTAGSLIBPATH=C2=A0 =C2=A0    =
                        </div><div dir=3D"auto">/home/mandar/ir/smart/src</=
div><div dir=3D"auto">xps12$ global -i textloc=C2=A0 =C2=A0                =
             </div><div dir=3D"auto">h/textloc.h</div><div dir=3D"auto">xps=
12$ pwd</div><div dir=3D"auto">/home/mandar/ir/smart/src</div><div dir=3D"a=
uto">xps12$ cd</div><div dir=3D"auto">xps12$ global -i textloc</div><div di=
r=3D"auto">global: GTAGS not found.</div><div dir=3D"auto">xps12$</div><div=
 dir=3D"auto"><br></div><div dir=3D"auto">Why can global not find the GTAGS=
 file when I run the last command?=C2=A0</div><div dir=3D"auto"><br></div><=
div dir=3D"auto">Thanks!=C2=A0</div></div>

--000000000000f8bf15059f8eb157--