]> granicus.if.org Git - postgis/commitdiff
Switch from sed to perl
authorPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 31 May 2012 16:47:21 +0000 (16:47 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 31 May 2012 16:47:21 +0000 (16:47 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9841 b70326c6-7e19-0410-871a-916f4a2858ee

raster/rt_pg/Makefile.in

index c8206207899cb589eff6f8bff5df6753c0a45a9f..ecbd0b5783f3cfe2c8813219293ea51c2a379a6f 100644 (file)
@@ -84,7 +84,7 @@ endif
 
 # Borrow the $libdir substitution from PGXS but customise by adding the version number
 %.sql: %.sql.in
-       sed 's,MODULE_PATHNAME,$$libdir/rtpostgis-@POSTGIS_MAJOR_VERSION@.@POSTGIS_MINOR_VERSION@,g' $< >$@
+       $(PERL) -lpe "s'MODULE_PATHNAME'\$$libdir/rtpostgis-@POSTGIS_MAJOR_VERSION@.@POSTGIS_MINOR_VERSION@'g" $< > $@
 
 
 # Objects dependencies