Skip to content

Commit ae378b6

Browse files
Harshavardhanaavati
Harshavardhana
authored andcommitted
Fixed build problems for init script installation.
Fixed build problem for init scripts (Reported by Krishna and Vikas). Signed-off-by: Anand V. Avati <[email protected]>
1 parent fdfdd7c commit ae378b6

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Diff for: ChangeLog

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ChangeLog is maintained by "tla changelog".
1+
ChangeLog is maintained by "git log".

Diff for: extras/init.d/Makefile.am

+4-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ initdir = /etc/init.d
77

88
$(GF_DISTRIBUTION):
99
$(mkdir_p) $(DESTDIR)$(initdir)
10-
cp glusterfsd-$(GF_DISTRIBUTION) $(DESTDIR)$(initdir)/glusterfsd
10+
$(INSTALL_PROGRAM) $(srcdir)/glusterfsd-$(GF_DISTRIBUTION) $(DESTDIR)$(initdir)/glusterfsd
1111

12-
install-data-local: $(GF_DISTRIBUTION)
12+
install-exec-local: $(GF_DISTRIBUTION)
13+
14+
install-data-local:
1315
if GF_DARWIN_HOST_OS
1416
cp glusterfs-server.plist /Library/LaunchDaemons/com.zresearch.glusterfs.plist
1517
endif

0 commit comments

Comments
 (0)