Patchwork [BUG:1810] init.d: Path not resolved during compilation to actual prefix

login
register
Submitter Harshavardhana
Date 2010-10-04 23:24:12
Message ID <1286234652-7788-1-git-send-email-harsha@gluster.com>
Download mbox | patch
Permalink /patch/5264/
State Accepted
Headers show

Comments

Harshavardhana - 2010-10-04 23:24:12
Signed-off-by: Harshavardhana <harsha@gluster.com>
---
 extras/init.d/glusterd-Redhat.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/extras/init.d/glusterd-Redhat.in b/extras/init.d/glusterd-Redhat.in
index 50ee5db..5ee3ab9 100755
--- a/extras/init.d/glusterd-Redhat.in
+++ b/extras/init.d/glusterd-Redhat.in
@@ -8,7 +8,7 @@ 
 . /etc/rc.d/init.d/functions
 
 BASE=glusterd
-GLUSTERD_BIN=@exec_prefix@/sbin/$BASE
+GLUSTERD_BIN=@prefix@/sbin/$BASE
 GLUSTERD_OPTS=""
 GLUSTERD="$GLUSTERD_BIN $GLUSTERD_OPTS"
 RETVAL=0