Skip to content
Snippets Groups Projects
Commit c31b34bb authored by nimrod's avatar nimrod
Browse files

Install everything under /usr/local.

parent 889c5831
No related branches found
No related tags found
No related merge requests found
Pipeline #957 passed
......@@ -38,13 +38,13 @@ build:
# I would have prefered to use ninja install with a different prefix, but
# alas the Bash completion doesn't take the prefix into account nor can it
# be overwritten, so I went for a manual approach.
- mkdir -p output/usr/local/share/man/man1
- cp toolbox/builddir/doc/* output/usr/local/share/man/man1/
- mkdir -p output/usr/local/bin
- cp toolbox/builddir/src/toolbox output/usr/local/bin/
- mkdir -p output/usr/share/bash-completion/completions
- mkdir -p output/share/man/man1
- cp toolbox/builddir/doc/* output/share/man/man1/
- mkdir -p output/bin
- cp toolbox/builddir/src/toolbox output/bin/
- mkdir -p output/share/bash-completion/completions
# yamllint disable-line rule:line-length
- cp toolbox/completion/bash/toolbox output/usr/share/bash-completion/completions/
- cp toolbox/completion/bash/toolbox output/share/bash-completion/completions/
- tar -C output -czf toolbox.tar.gz ./
artifacts:
paths:
......
......@@ -14,7 +14,7 @@ completion script) are in the CI pipeline artifacts. There's also a tar file
that has all of the files in the right hierarchy to just unpack like so:
```
curl https://git.shore.co.il/shore/toolbox-build/-/jobs/artifacts/master/raw/toolbox.tar.gz?job=build | tar -xzC /
curl https://git.shore.co.il/shore/toolbox-build/-/jobs/artifacts/master/raw/toolbox.tar.gz?job=build | tar -xzC /usr/local/
```
Lastly, there's also an
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment