summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-11-09 10:26:32 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:44:52 +0100
commite8b921293bffe7682180681f5416c7bea80ec9e1 (patch)
tree743f6f002511d408daf041ee5b4d29f919f6eba2 /source4/build
parent88f0c3bfa7773999d2a6dfd1123c95f019e87d84 (diff)
downloadsamba-e8b921293bffe7682180681f5416c7bea80ec9e1.tar.gz
samba-e8b921293bffe7682180681f5416c7bea80ec9e1.tar.bz2
samba-e8b921293bffe7682180681f5416c7bea80ec9e1.zip
r25913: maybe some platforms have problems with echo -e
metze (This used to be commit c9586b8ab34e8737cf87a642fbcc811edd0a6590)
Diffstat (limited to 'source4/build')
-rw-r--r--source4/build/smb_build/makefile.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm
index 2dd1a9d7b3..1829c256b3 100644
--- a/source4/build/smb_build/makefile.pm
+++ b/source4/build/smb_build/makefile.pm
@@ -352,7 +352,11 @@ bin/$ctx->{NAME}_init_module.c:
\@echo Creating \$\@
\@echo \"#include \\\"includes.h\\\"\" > \$\@
\@echo \"$proto_fn;\" >> \$\@
- \@echo -e \"_PUBLIC_ $init_fn \\n{\\n\\treturn $ctx->{INIT_FUNCTION}();\\n}\\n\" >> \$\@
+ \@echo \"_PUBLIC_ $init_fn\" >> \$\@
+ \@echo \"{\" >> \$\@
+ \@echo \" return $ctx->{INIT_FUNCTION}();\" >> \$\@
+ \@echo \"}\" >> \$\@
+ \@echo \"\" >> \$\@
__EOD__
);
$init_obj = "bin/$ctx->{NAME}_init_module.o";