Re: To handle the absolute path in compiling time

2017-01-10 Thread Michael Hall
You can use /snap//current/ instead of $SNAP. At least from inside the snap's runtime environment that should always point to the current install base. It's not ideal, but it's at least a predictable path you know at build time. Michael Hall mhall...@ubuntu.com On 01/10/2017 12:16 PM, Jin Hsieh

To handle the absolute path in compiling time

2017-01-10 Thread Jin Hsieh
Hello All, We are trying to snap up a mail server, by referring to the design of a popular solution, there are several services need to be packaged as parts. The major one is the postfix, it uses an install script to deploy the built binary, libraries and the configuration files, the problem