New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add usr/bin to the shebang replace path #238
Add usr/bin to the shebang replace path #238
Conversation
👍 from me, though we may want to do this to all .debs in the future. Just waiting for the tools. |
Ah right, the downside to doing it this way: It also needs to be done to the roscore plugin or the file contents differ. |
5e6bb49
to
b602f5d
Compare
I am thinking of rebasing with #236 |
Does #236 look good? Feel free to merge and go ahead and rebase. |
stage: | ||
- -$dev | ||
snap: | ||
- -$dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes ROS an awesome example. Cool.
b602f5d
to
878d086
Compare
@@ -298,6 +308,14 @@ def _fix_filemode(path): | |||
os.chmod(path, mode & 0o1777) | |||
|
|||
|
|||
def _fix_shebangs(path): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It wouldn't hurt to comment why the shebangs have to be fixed. Just like on fix_symlinks above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
878d086
to
51c3283
Compare
+1 from me. I'm just missing a couple of comments. |
51c3283
to
f9066ef
Compare
@ElOpio I fixed the code to take into account your comments 😄 |
f9066ef
to
cd9c111
Compare
@kyrofa done |
Add usr/bin to the shebang replace path
Corrects extension version selection (issue canonical#238). Corrects hanlding of stdout / stderr (issue canonical#260). Signed-off-by: Brendan Dixon <brendand@microsoft.com>
…shebangs Add usr/bin to the shebang replace path
LP: #1534812