--debug drops me into an unexpected directory

Bug #1917639 reported by Robie Basak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Triaged
Wishlist
Unassigned

Bug Description

In override-stage, I specified "exit 1" to deliberately cause --debug to stop me there. However it put me in /root, not the directory the shell script runs in.

Expected: exactly the same directory as the override-stage script: working directory, environment variables, everything.

This bug is for the current directory. There's also bug 1848513 for missing environment variables, and bug 1848732 for a missing snapcraftctl command.

installed: 4.5.1 (6050) 71MB classic

Changed in snapcraft:
status: New → Triaged
importance: Undecided → Wishlist
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.