Jesus Guardon escribió: > Benoît Minisini escribió: >>> Hi all >>> >>> I am experimenting with the GB_DIR environment variable, and I've made a >>> deb package with my program to install it in /opt. The current dir >>> structure is as follows: >>> >>> je...@jesus:~$ tree /opt >>> /opt >>> `-- dfhlog >>> >>> |-- dfhlog.gambas >>> >>> `-- gambas2 >>> >>> |-- bin >>> | >>> | |-- gbr2 -> gbx2 >>> | >>> | `-- gbx2 >>> >>> `-- lib >>> `-- gambas2 >>> >>> |-- gb.component >>> |-- gb.corba.component >>> |-- ... etc >>> >>> ...etc... >>> >>> I am calling my executable from a bash script located in /usr/local/bin >>> >>> je...@jesus:~$ cat /usr/local/bin/dfhlog >>> #!/bin/sh >>> export PATH=/opt/dfhlog/gambas2/bin >>> export GB_DIR=/opt/dfhlog/gambas2 >>> exec /opt/dfhlog/dfhlog.gambas >>> >>> (In this case, LD_LIBRARY_PATH is not used, because they already are in >>> my system). <snip> > Thanks Benoît > > Surprisingly, after a recompile, it works as expected! May be I was > using an old executable file (dfhlog.gambas). Sorry for my mistake 8-( > > Regards > > Jesús
Hi again Continuing my testings on GB_DIR, I'm running into a new problem: SHELL command has no effect at all. All sentences using SHELL are not executed. As you can guess, running my project executable the normal way (not using GB_DIR) it is running right. Could this be a bug? Thanks in advance. Jesús ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user