diff buildsys.mk.in @ 2803:720e33771f24

don't translate trailing \n
author Andrew O. Shadoura <bugzilla@tut.by>
date Sat, 12 Jul 2008 03:06:15 +0300
parents 50657768a6f1
children f2bec2d589d6
line wrap: on
line diff
--- a/buildsys.mk.in	Sat Jul 12 02:58:39 2008 +0300
+++ b/buildsys.mk.in	Sat Jul 12 03:06:15 2008 +0300
@@ -46,7 +46,7 @@
 LIB_LDFLAGS = @LIB_LDFLAGS@
 LIB_PREFIX = @LIB_PREFIX@
 LIB_SUFFIX = @LIB_SUFFIX@
-PLUGIN_DEFNAME = `echo ${subst ${PLUGIN_SUFFIX},,${PLUGIN}} | tr [:lower:] [:upper:] | tr -C [:alnum:] _`
+PLUGIN_DEFNAME = `echo -n ${subst ${PLUGIN_SUFFIX},,${PLUGIN}} | tr [:lower:] [:upper:] | tr -C [:alnum:] _`
 PLUGIN_CPPFLAGS = @PLUGIN_CPPFLAGS@ -D${PLUGIN_DEFNAME}_CFGID=\"${subst ${PLUGIN_SUFFIX},,${PLUGIN}}\"
 PLUGIN_CFLAGS = @PLUGIN_CFLAGS@
 PLUGIN_LDFLAGS = @PLUGIN_LDFLAGS@