handling interpreters in *-snapper scripts (or snapcraft)

Oliver Grawert ogra at ubuntu.com
Wed Jun 17 20:48:50 UTC 2015


Am Mittwoch, den 17.06.2015, 15:46 -0400 schrieb Barry Warsaw:

> $ /usr/bin/python2 /usr/bin/virtualenv ...
> So it may make sense for the snappy build process to just write a wrapper that
> does the actual executing of the script even without fiddling with the $PATH
> or adjusting shebangs.

that will only work if there is only one single tool in your snap that
you call with that wrapper ... unless you make a wrapper for each single
py script, which is as much effort as sed'ing through the first line at
build time of the snap environment I guess ...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 173 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/snappy-devel/attachments/20150617/6c37652a/attachment.pgp>

More information about the snappy-devel mailing list