classic snaps recurse
Bug #1681861 reported by
Chris MacNaughton
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Unassigned |
Bug Description
When building a classic snap, the command wrapper being generated looks like:
#!/bin/sh
exec "command" "$@"
when they should instead look like:
#!/bin/sh
exec "$SNAP/bin/command" "$@"
because the $PATH is not reset inside of a classic snap
To post a comment you must log in.