Pulling local sources is rather broken
Bug #1558446 reported by
Sergio Schvezov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
High
|
Sergio Schvezov |
Bug Description
When pulling a local source we check if there's a dir there, most likely created by the plugin handler, and we os.rmdir it; else we do a os.remove.
The problem is that the call to isdir upon the symlink will be true and os.rmdir will fail so we invert this.
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/ubuntu- core/snapcraft/ pull/377/ files