Expose project directory path to the scriptlets
Bug #1824417 reported by
林博仁(Buo-ren Lin)
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Wishlist
|
Tony Simpson |
Bug Description
For some use cases, it is convenient to know the exact path of the snapcraft project directory in a scriptlet, which is now in different paths depending on the build environment:
* host: ../../.. (for pull and build step); .. (for stage and prime step)
* managed-host: /root/project
Discussion: https:/
description: | updated |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
https:/ /github. com/snapcore/ snapcraft/ pull/2534