From 38d7258b4fe3cbde01d00de68d08586e6a9b997a Mon Sep 17 00:00:00 2001 From: Romain Chantereay Date: Thu, 17 Feb 2005 11:42:44 +0000 Subject: Escape the $ as begin of a variable name adding another '$'. Now the '$$' pass '$' to sed and '$' is end of line and no more begin of variable name. --- python/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/Makefile.am b/python/Makefile.am index 31224209..09ea009e 100644 --- a/python/Makefile.am +++ b/python/Makefile.am @@ -23,7 +23,7 @@ lasso_wrap.c lasso.py: $(top_srcdir)/swig/Lasso.i $(top_srcdir)/swig/Lasso-wsf.i sed -e 's/free(result)/g_free(result)/' \ < lasso_wrap.c.bak > lasso_wrap.c cp lasso_wrap.c lasso_wrap.c.bak.1 - sed -e 's/^ int res = 0;$//' \ + sed -e 's/^ int res = 0;$$//' \ < lasso_wrap.c.bak.1 > lasso_wrap.c cp lasso_wrap.c lasso_wrap.c.bak.2 sed -e 's/\/\* if (val) \*val = PyObject_IsTrue(obj); return 1; \*\//int res = 0;/' \ -- cgit