Ignore:
Timestamp:
Jun 4, 2012, 5:40:08 PM (7 years ago)
Author:
mww@…
Message:

fix parameter expansion for ocamlfind-wrapper

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/ocaml-1.0.tcl

    r88592 r93941  
    6161    puts ${wrapper} "#!/bin/sh"
    6262    puts ${wrapper} "if \[ \"\$1\" = \"install\" \]; then"
    63     puts ${wrapper} "    ${prefix}/bin/ocamlfind \$* -destdir ${ocamlfind_destdir} -ldconf ignore"
     63    puts ${wrapper} "    ${prefix}/bin/ocamlfind \"\$@\" -destdir ${ocamlfind_destdir} -ldconf ignore"
    6464    puts ${wrapper} "else"
    65     puts ${wrapper} "    ${prefix}/bin/ocamlfind \$*"
     65    puts ${wrapper} "    ${prefix}/bin/ocamlfind \"\$@\""
    6666    puts ${wrapper} "fi"
    6767    close ${wrapper}
Note: See TracChangeset for help on using the changeset viewer.