[Gambas-user] Executable location in package for gb.web.gui
bsteers4 at gmail.com
Fri Jan 6 12:27:45 CET 2023
On Fri, 6 Jan 2023, 08:35 Safiur Rahman, <isafiur at gmail.com> wrote:
> The default location of executable while packaging for ubuntu should be in
> From ubuntu 20.04 and onwards this is the default location for chi scripts.
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
But not on all systems.
I like that it compiles to project directory.
If you go to the make executable dialog there is a "run command after"
option to run a shell script.
"cp $(FILE) /usr/lib/cgi-bin"
In the textbox and the compiled exe will opt there.
Isn't /usr/lib a protected system folder that will need root pw each time?
My mint (Ubuntu) does not have a cgi-bin dir in /usr/lib so I do not know
where you got that "default"
I put mine in /var/www/html/cgi-bin not /usr/lib
It will be different for others.
Best keep the"default" location as project dir and if you want elsewhere cp
it there as mentioned above.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the User