Skip to content

chore(rom/deb): Fix wrong install directory for rpm/deb

Kerri Miller requested to merge github/fork/zemzale/fix-deb-rpm-releases into trunk

Created by: zemzale

Description Since glab is built into a 'bin' directory it just ends up installing into '/usr/local/bin/bin' instead of '/usr/local/bin/'.

Related Issue

Resolves #508 (closed)

How Has This Been Tested?

 docker run --rm -v $PWD/dist:/rt debian:latest dpkg -c /rt/glab_v1.12.1_Linux_x86_64.deb
 drwxr-xr-x 0/0               0 2021-01-05 08:06 ./usr/
 drwxr-xr-x 0/0               0 2021-01-05 08:06 ./usr/local/
 drwxr-xr-x 0/0               0 2021-01-05 08:06 ./usr/local/bin/
 -rwxr-xr-x 0/0        17436672 2021-01-05 08:06 ./usr/local/bin/glab

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation
  • Chore (Related to CI or Packaging to platforms)

Merge request reports