use comma as sed pieces separator so that path slashes need not to be quoted
authorStefano Zacchiroli <zack@debian.org>
Sat, 28 Oct 2006 13:40:52 +0000 (13:40 +0000)
committerStefano Zacchiroli <zack@debian.org>
Sat, 28 Oct 2006 13:40:52 +0000 (13:40 +0000)
debian/cdbs/ocaml.mk

index 221f76598d36194eab71932a09a45bc46a2af012..5aace585cb192263e93829cf9701df1de1edf79c 100644 (file)
@@ -16,7 +16,7 @@
 # this program; if not, write to the Free Software Foundation, Inc., 51
 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 #
-# $Id: ocaml.mk 3237 2006-10-13 08:27:10Z zack $
+# $Id: ocaml.mk 3288 2006-10-28 13:40:52Z zack $
 
 _cdbs_scripts_path ?= /usr/lib/cdbs
 _cdbs_rules_path ?= /usr/share/cdbs/1/rules
@@ -47,8 +47,8 @@ ocamlinit: ocamlinit-stamp
 ocamlinit-stamp:
        for f in $(OCAML_IN_FILES) ; do \
                sed \
-                       -e 's/@OCamlABI@/$(OCAML_ABI)/g' \
-                       -e 's/@OCamlStdlibDir@/$(OCAML_STDLIB_DIR)/g' \
+                       -e 's,@OCamlABI@,$(OCAML_ABI),g' \
+                       -e 's,@OCamlStdlibDir@,$(OCAML_STDLIB_DIR),g' \
                        $$f.in > $$f ; \
        done
        touch $@