summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarshavardhana <harsha@gluster.com>2010-10-04 17:54:12 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-10-05 02:48:09 -0700
commit372ed08f25da2eb7e09f27685cb1773b88c62173 (patch)
tree280f80cef9f286b9b2ea5cb300c5c80df8fabf1d
parent2136876274690bc7377b97ca0ed812a6befafee2 (diff)
init.d: Path not resolved during compilation to actual prefix
Signed-off-by: Harshavardhana <harsha@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 1810 (qa 40 glusterd path is hardcoded, won't start by default.) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1810
-rwxr-xr-xextras/init.d/glusterd-Redhat.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/init.d/glusterd-Redhat.in b/extras/init.d/glusterd-Redhat.in
index 50ee5db7b8a..5ee3ab90832 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