r555 - trunk/vim7/debian

James Vega jamessan at costa.debian.org
Wed Mar 29 02:47:14 UTC 2006


Author: jamessan
Date: 2006-03-29 02:47:13 +0000 (Wed, 29 Mar 2006)
New Revision: 555

Modified:
   trunk/vim7/debian/rules
Log:
Final fix for the autogeneration rules.  The previous fix wasn't escaping the
'$' for the env variables so they were being evaluated in the sed expression.


Modified: trunk/vim7/debian/rules
===================================================================
--- trunk/vim7/debian/rules	2006-03-28 19:46:39 UTC (rev 554)
+++ trunk/vim7/debian/rules	2006-03-29 02:47:13 UTC (rev 555)
@@ -329,7 +329,7 @@
 	  	debian/vim-variant.$$x > debian/vim.$$x ;\
 	done
 	for L in $(LANGS); do \
-	  sed -e "s:\\(.*\\)@LANG_ALTS@:\\1--slave \\$$mandir/$$L/man1/\\$$i.1.gz \\$$i.$$L.1.gz \\$$mandir/$$L/man1/vim.1.gz \\\\\n&:" \
+	  sed -e "s:\(.*\)@LANG_ALTS@:\1--slave \$$mandir/$$L/man1/\$$i.1.gz \$$i.$$L.1.gz \$$mandir/$$L/man1/vim.1.gz \\\\\n&:" \
 	      -i debian/vim.postinst; \
 	done
 	sed -i "/@LANG_ALTS@/d" debian/vim.postinst
@@ -432,7 +432,7 @@
 	sed -e "s:@PKG@:$*:;s:@VARIANT@:$(patsubst vim-%,%,$*):" \
 	    debian/lintian/vim-variant > debian/lintian/$*
 	for L in $(LANGS); do \
-	  sed -e "s:\\(.*\\)@LANG_ALTS@:\\1--slave \\$$mandir/$$L/man1/\\$$i.1.gz \\$$i.$$L.1.gz \\$$mandir/$$L/man1/vim.1.gz \\\\\n&:" \
+	  sed -e "s:\(.*\)@LANG_ALTS@:\1--slave \$$mandir/$$L/man1/\$$i.1.gz \$$i.$$L.1.gz \$$mandir/$$L/man1/vim.1.gz \\\\\n&:" \
 	      -i debian/$*.postinst; \
 	done
 	sed -i "/@LANG_ALTS@/d" debian/$*.postinst




More information about the pkg-vim-maintainers mailing list