[93941] trunk/dports/_resources/port1.0/group/ocaml-1.0.tcl

mww at macports.org mww at macports.org
Mon Jun 4 10:40:08 PDT 2012


Revision: 93941
          https://trac.macports.org/changeset/93941
Author:   mww at macports.org
Date:     2012-06-04 10:40:08 -0700 (Mon, 04 Jun 2012)
Log Message:
-----------
fix parameter expansion for ocamlfind-wrapper

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/ocaml-1.0.tcl

Modified: trunk/dports/_resources/port1.0/group/ocaml-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/ocaml-1.0.tcl	2012-06-04 17:38:27 UTC (rev 93940)
+++ trunk/dports/_resources/port1.0/group/ocaml-1.0.tcl	2012-06-04 17:40:08 UTC (rev 93941)
@@ -60,9 +60,9 @@
     set wrapper [open ${ocamlfind_wrapper} "w"]
     puts ${wrapper} "#!/bin/sh"
     puts ${wrapper} "if \[ \"\$1\" = \"install\" \]; then"
-    puts ${wrapper} "    ${prefix}/bin/ocamlfind \$* -destdir ${ocamlfind_destdir} -ldconf ignore"
+    puts ${wrapper} "    ${prefix}/bin/ocamlfind \"\$@\" -destdir ${ocamlfind_destdir} -ldconf ignore"
     puts ${wrapper} "else"
-    puts ${wrapper} "    ${prefix}/bin/ocamlfind \$*"
+    puts ${wrapper} "    ${prefix}/bin/ocamlfind \"\$@\""
     puts ${wrapper} "fi"
     close ${wrapper}
     file attributes ${ocamlfind_wrapper} -permissions +x
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120604/6d2e3a2d/attachment.html>


More information about the macports-changes mailing list