Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
R
relibc
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 33
    • Issues 33
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 20
    • Merge Requests 20
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • redox-os
  • relibc
  • Merge Requests
  • !313

Open
Opened Sep 22, 2020 by Aaron Janse@aaronjanse
  • Report abuse
Report abuse

Check out, review, and merge locally

Step 1. Fetch and check out the branch for this merge request

git fetch "https://gitlab.redox-os.org/aaronjanse/relibc.git" "master"
git checkout -b "aaronjanse/relibc-master" FETCH_HEAD

Step 2. Review the changes locally

Step 3. Merge the branch and fix any conflicts that come up

git fetch origin
git checkout "master"
git merge --no-ff "aaronjanse/relibc-master"

Step 4. Push the result of the merge to GitLab

git push origin "master"

Note that pushing to GitLab requires write access to this repository.

Tip: You can also checkout merge requests locally by following these guidelines.

allow calling shebang scripts in PATH

  • Overview 1
  • Commits 1
  • Pipelines 1
  • Changes 1

I don't have a way to test this MR right now, but I thought I might as well share the code. See below. I've tested it, and it works.

Test case to show the need for this MR:

$ echo '#!/bin/bash' > /bin/foo
$ echo 'echo 123' >> /bin/foo
$ /bin/foo
bash: no such file or directory "foo" (roughly; notice "foo" instead of "/bin/foo")
Edited Oct 19, 2020 by Aaron Janse
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
Reference: redox-os/relibc!313
Source branch: master