path: root/tools/gfind_missing_files/
diff options
authorKaleb S. KEITHLEY <>2017-03-09 12:18:40 -0500
committerShyamsundar Ranganathan <>2017-03-13 10:18:07 -0400
commitfdabb97d57793084190440b90c75c37761d5720c (patch)
treea714e3f246598b9bd2e3480a751ce1f6f6cd65ca /tools/gfind_missing_files/
parentfc97b1dc38ad46302d51a988cda18335f88514a2 (diff)
build/packaging: Debian and Ubuntu don't have /usr/libexec
GLUSTERFS_LIBEXECDIR is effectively hard-coded to /usr/libexec/glusterfs in configure(.ac) Debian-based distributions don't have a /usr/libexec/ directory This issues is partially mitigated by the use of $libexecdir in some of the files, but even so the incorrectly defined GLUSTERFS_LIBEXECDIR results in various things such as gsyncd, glusterfind, eventsd, etc., trying to invoke other scripts and programs from a location that doesn't exist. And once we correctly define GLUSTERFS_LIBEXECDIR, then we might as well use it appropriatedly. Change-Id: If5219cadc51ae316f7ba2e2831d739235c77902d BUG: 1430841 Signed-off-by: Kaleb S. KEITHLEY <> Reviewed-on: Smoke: Gluster Build System <> NetBSD-regression: NetBSD Build System <> CentOS-regression: Gluster Build System <> Reviewed-by: Milind Changire <> Reviewed-by: Joe Julian <> Reviewed-by: Shyamsundar Ranganathan <>
Diffstat (limited to 'tools/gfind_missing_files/')
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gfind_missing_files/ b/tools/gfind_missing_files/
index 043c34c4182..f77f7899efb 100644
--- a/tools/gfind_missing_files/
+++ b/tools/gfind_missing_files/
@@ -1,4 +1,4 @@
-gfindmissingfilesdir = $(libexecdir)/glusterfs/gfind_missing_files
+gfindmissingfilesdir = $(GLUSTERFS_LIBEXECDIR)/gfind_missing_files
gfindmissingfiles_SCRIPTS = \
@@ -21,6 +21,6 @@ uninstall-local:
rm -f $(DESTDIR)$(sbindir)/gfind_missing_files
- ln -s $(libexecdir)/glusterfs/gfind_missing_files/ $(DESTDIR)$(sbindir)/gfind_missing_files
+ ln -s $(GLUSTERFS_LIBEXECDIR)/gfind_missing_files/ $(DESTDIR)$(sbindir)/gfind_missing_files