Skip to content

Commit

Permalink
Fix curl command line
Browse files Browse the repository at this point in the history
The -o option is supposed to get a filename as a parameter, not a
directory.

Fixes #18658
  • Loading branch information
pulkomandy committed Nov 9, 2023
1 parent dde03bd commit 84877a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions content/guides/building/get-source-git.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,13 +133,13 @@ You may need to replace the <code class="varname">$USER</code> parameter in the
<h4>Build Tools:</h4>

```sh
git clone "ssh://$USER@git.haiku-os.org/buildtools" && curl -Lo "buildtools/.git/hooks/" https://git.haiku-os.org/tools/hooks/commit-msg
git clone "ssh://$USER@git.haiku-os.org/buildtools" && curl -Lo "buildtools/.git/hooks/commit-msg" https://git.haiku-os.org/tools/hooks/commit-msg
```

<h4>Haiku:</h4>

```sh
git clone "ssh://$USER@git.haiku-os.org/haiku" && curl -Lo "haiku/.git/hooks/" https://git.haiku-os.org/tools/hooks/commit-msg
git clone "ssh://$USER@git.haiku-os.org/haiku" && curl -Lo "haiku/.git/hooks/commit-msg" https://git.haiku-os.org/tools/hooks/commit-msg
```

<h4>Preparing your first patch</h4>
Expand All @@ -149,7 +149,7 @@ Before making a commit, install a Git hook that will automatically
for you:

```sh
curl -Lo "haiku/.git/hooks/" https://git.haiku-os.org/tools/hooks/commit-msg
curl -Lo "haiku/.git/hooks/commit-msg" https://git.haiku-os.org/tools/hooks/commit-msg
```

If a maintainer asks you to correct something later on, Gerrit will use that
Expand Down

0 comments on commit 84877a0

Please sign in to comment.