[wpkg-users] Define conditionally a variable...

Marco Gaiarin gaio at lilliput.linux.it
Mon Mar 16 10:48:24 CET 2026


Mandi! Marco Schmidt
  In chel di` si favelave...

> For me it was not really clear.
> Maybe you could provide an example ?

Suppose i have two variables like:

 NETNAME = mydomain.it
 LOCALNET = local

to manage different site; so, normally on a site the proxy is
'proxy.local.mydomain.it:8080'; but still for some site could be a
different, so i have to set it.


So, some sort of default value like:

 PROXY = proxy.%LOCALNET%.%NETNAME%:8080

but i can explicitly set:

 PROXY = squid.another.site.it:2334


I hope i was clear now.

-- 




More information about the wpkg-users mailing list