summaryrefslogtreecommitdiff
path: root/recipes/tmdns/tmdns-20030116/install-init.d.patch
blob: 7941df1d4234791b9c1124279c64b71bb0736fff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

#
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#

--- tmdns/init.d/Makefile.am~install-init.d
+++ tmdns/init.d/Makefile.am
@@ -23,6 +23,7 @@
 install:
 	if [ -f initscript ] ;\
 	then \
-	  install -m 755 initscript $(DESTDIR)$(INIT_DIR)/tmdns ;\
+	  install -d $(DESTDIR)$(INIT_DIR); \
+	  install -m 755 initscript $(DESTDIR)$(INIT_DIR)/tmdns; \
 	fi
 
--- tmdns/init.d/Makefile.in~install-init.d
+++ tmdns/init.d/Makefile.in
@@ -274,7 +274,8 @@
 install:
 	if [ -f initscript ] ;\
 	then \
-	  install -m 755 initscript $(DESTDIR)$(INIT_DIR)/tmdns ;\
+	  install -d $(DESTDIR)$(INIT_DIR); \
+	  install -m 755 initscript $(DESTDIR)$(INIT_DIR)/tmdns; \
 	fi
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.