Commit c31b34bb authored by nimrod's avatar nimrod
Browse files

Install everything under /usr/local.

parent 889c5831
Loading
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -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:
+1 −1
Original line number Diff line number Diff line
@@ -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