<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18702"></HEAD>
<BODY>
<DIV><FONT size=2 face=Arial><SPAN class=890295905-28052009>Fix dropbear 
install</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN 
class=890295905-28052009></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial><SPAN class=890295905-28052009>The -D option to 
install only works portably when the destination is a file.</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=890295905-28052009>Specifying the 
filename avoids the following build error (at least on some 
hosts):</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=890295905-28052009>"/usr/bin/install: 
cannot overwrite directory 
`/tmp/buildroot/project_build_foobar/uclibc/root/etc/init.d' with 
non-directory"</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial><SPAN class=890295905-28052009>Signed-off-by: Marc 
Gauthier &lt;marc@tensilica.com&gt;</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>diff --git a/package/dropbear/dropbear.mk 
b/package/dropbear/dropbear.mk<BR>index e84df87..63d3daa 100644<BR>--- 
a/package/dropbear/dropbear.mk<BR>+++ b/package/dropbear/dropbear.mk<BR>@@ -28,7 
+28,7 @@ 
$(DROPBEAR_TARGET_INSTALL_TARGET):<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
ln -snf ../sbin/dropbear 
$(TARGET_DIR)/usr/bin/scp<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ln -snf 
../sbin/dropbear 
$(TARGET_DIR)/usr/bin/ssh<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if [ ! 
-f $(TARGET_DIR)/etc/init.d/S50dropbear ]; then 
\<BR>-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
$(INSTALL) -m 0755 -D package/dropbear/S50dropbear $(TARGET_DIR)/etc/init.d; 
\<BR>+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
$(INSTALL) -m 0755 -D package/dropbear/S50dropbear 
$(TARGET_DIR)/etc/init.d/S50dropbear; 
\<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
fi<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; touch $@</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV></BODY></HTML>