salimma / rpms / ceph

Forked from rpms/ceph 2 years ago
Clone
c523b37
From 69baa8948f2d922554e815c572d8339a4a197306 Mon Sep 17 00:00:00 2001
c523b37
From: Ken Dreyer <ken.dreyer@inktank.com>
c523b37
Date: Tue, 7 Jan 2014 21:51:14 -0700
c523b37
Subject: [PATCH] Fedora only: fix sbin path
c523b37
c523b37
On Fedora, /sbin is a symbolic link to /usr/sbin. Install all the sbin
c523b37
binaries into the /usr/sbin location.
c523b37
c523b37
Signed-off-by: Ken Dreyer <ken.dreyer@inktank.com>
c523b37
---
c523b37
 src/Makefile-env.am | 4 ++--
c523b37
 1 file changed, 2 insertions(+), 2 deletions(-)
c523b37
c523b37
diff --git a/src/Makefile-env.am b/src/Makefile-env.am
c523b37
index 9bc6ee7..d02f034 100644
c523b37
--- a/src/Makefile-env.am
c523b37
+++ b/src/Makefile-env.am
c523b37
@@ -26,8 +26,8 @@ bin_DEBUGPROGRAMS =
Josef Bacik 7d1f840
 # like sbin_SCRIPTS but can be used to install to e.g. /usr/sbin
c523b37
 ceph_sbindir = $(sbindir)
c523b37
 
c523b37
-# certain things go straight into /sbin, though!
c523b37
-su_sbindir = /sbin
c523b37
+# On Fedora these things also go into /usr/sbin
c523b37
+su_sbindir = $(sbindir)
c523b37
 
c523b37
 # C/C++ tests to build will be appended to this
c523b37
 check_PROGRAMS =
c523b37
-- 
c523b37
1.8.3.1
c523b37