classic snaps recurse

Bug #1681861 reported by Chris MacNaughton
6
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.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.