$SNAP/usr/local/bin should be on the $PATH

Bug #1703471 reported by Evan
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Snapcraft
Triaged
Wishlist
Sergio Schvezov

Bug Description

In /snap/*/current/command-*.wrapper, PATH is "$SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH".

This should include $SNAP/usr/local/bin. Autotools defaults to it for prefix, so it's easy to trip over this one just as the ffmpeg part did:

https://github.com/Winael/ffmpeg/pull/1

Evan (ev)
summary: - /usr/local/bin should be on the $PATH
+ $SNAP/usr/local/bin should be on the $PATH
description: updated
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

Since the command-* wrappers are originating from snapcraft I'm moving the bug there. I'm also marking it as CONFIRMED since the wrappers don't have the desired PATH entry.

affects: snapd → snapcraft
Changed in snapcraft:
status: New → Confirmed
Changed in snapcraft:
milestone: none → 2.35
assignee: nobody → Sergio Schvezov (sergiusens)
importance: Undecided → Wishlist
status: Confirmed → Triaged
Changed in snapcraft:
milestone: 2.35 → none
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.