Daniel Gryniewicz has uploaded this change for review.

View Change

Scripts install fixes

This fixes several issues related to installing scripts.

1. LIBEXECDIR was unconditionally set to a path in /, ignoring the
install prefix. Fix this to include the install prefix properly.
2. gpfs-epoch was using LIBEXECDIR as an install prefix, causing it to
install in LIBEXECDIR/bin/. Fix this to install in site-packages, with
the script in LIBEXECDIR/ganesha
3. Don't install pre-compiled python for the scripts. This only happens
for python 3.x, and tends to make rpm building fragile.

Change-Id: I223ed4809be59f65cc7026e2c35bda6d3880c033
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
---
M src/CMakeLists.txt
M src/scripts/ganeshactl/CMakeLists.txt
M src/scripts/gpfs-epoch/CMakeLists.txt
3 files changed, 8 insertions(+), 7 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/27/470027/1

To view, visit change 470027. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I223ed4809be59f65cc7026e2c35bda6d3880c033
Gerrit-Change-Number: 470027
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Gryniewicz <dang@redhat.com>
Gerrit-MessageType: newchange