[SCM] an open source computer algebra system branch, debian, updated. 9ff7850eca536fc11cb47e2ea631506a0df061c6

Bernhard R. Link brlink at debian.org
Mon Mar 5 20:58:46 UTC 2012


The following commit has been merged in the debian branch:
commit 9ff7850eca536fc11cb47e2ea631506a0df061c6
Author: Bernhard R. Link <brlink at debian.org>
Date:   Mon Mar 5 21:56:06 2012 +0100

    properly escape $

diff --git a/debian/rules b/debian/rules
index f656245..b74da39 100755
--- a/debian/rules
+++ b/debian/rules
@@ -152,10 +152,10 @@ configure-stamp:
 	# don't look in system directories first:
 	sed 	-e 's#-I/usr/lib/singular-[0-9.-]*\>#-I'"$(CURDIR)"'#g' \
 		-e 's#-I/usr/\(local/\)\?include\( \|$$\)##g' \
-		-e 's#-I${prefix}\( \|$$\)#-I'"$(CURDIR)"' #g' \
+		-e 's#-I$${prefix}\( \|$$\)#-I'"$(CURDIR)"' #g' \
 		-e 's#-L/usr/local/lib\( \|$$\)##g' \
 		-e 's#-L/usr/lib\( \|$$\)##g' \
-		-e 's#-L${libdir}\( \|$$\)##g' \
+		-e 's#-L$${libdir}\( \|$$\)##g' \
 		-i \
 		Makefile omalloc/Makefile kernel/Makefile Singular/Makefile \
 		libfac/Makefile factory/GNUmakefile

-- 
an open source computer algebra system



More information about the debian-science-commits mailing list