[Pkg-octave-commit] rev 75 - trunk/packages/octave2.1/debian

Rafael Laboissiere rafael@costa.debian.org
Mon, 21 Feb 2005 01:38:11 +0100


Author: rafael
Date: 2005-02-21 01:38:10 +0100 (Mon, 21 Feb 2005)
New Revision: 75

Modified:
   trunk/packages/octave2.1/debian/rules
Log:
Escape "@" character in Perl s// expressions


Modified: trunk/packages/octave2.1/debian/rules
===================================================================
--- trunk/packages/octave2.1/debian/rules	2005-02-20 21:02:04 UTC (rev 74)
+++ trunk/packages/octave2.1/debian/rules	2005-02-21 00:38:10 UTC (rev 75)
@@ -117,13 +117,13 @@
         # prepare the postinst and prerm files for the given version number
 	@for i in octave2.1 octave2.1-headers octave2.1-emacsen; do \
 		for j in postinst prerm; do \
-			perl -p -e 's/@VERSION@/$(version)/' \
+			perl -p -e 's/\@VERSION@/$(version)/' \
 				< debian/$${i}.$${j}.in > debian/$${i}.$${j}; \
 		done ; \
 	done
 
         # fix the lintian override and bring it up to date 
-	perl -p -e 's/@VERSION@/$(version)/g' < debian/octave2.1.lintian.in \
+	perl -p -e 's/\@VERSION@/$(version)/g' < debian/octave2.1.lintian.in \
 		> debian/octave2.1.lintian
 		
 	touch configure-stamp