> On Jun 4, 2015, at 12:54 AM, [email protected] wrote:
> 
> Revision
> 137073
> Author
> [email protected]
> Date
> 2015-06-03 22:54:00 -0700 (Wed, 03 Jun 2015)
> Log Message
> 
> ghostscript: Don't choke if `distpath` or `workpath` contains spaces

but probably do still choke if they contain apostrophes :P

There should be a quoting function we use instead... don't we have one yet?

>  post-extract {
> -    system -W ${workpath} "unzip ${distpath}/${mappingresources_commit}.zip"
> -    system -W ${workpath} "unzip 
> ${workpath}/mapping-resources-pdf-${mappingresources_commit}/mappingresources4pdf_2unicode.zip"
> -    system -W ${workpath} "unzip 
> ${workpath}/mapping-resources-pdf-${mappingresources_commit}/mappingresources4pdf_other.zip"
> +    system -W ${workpath} "unzip 
> '${distpath}/${mappingresources_commit}.zip'"
> +    system -W ${workpath} "unzip 
> '${workpath}/mapping-resources-pdf-${mappingresources_commit}/mappingresources4pdf_2unicode.zip'"
> +    system -W ${workpath} "unzip 
> '${workpath}/mapping-resources-pdf-${mappingresources_commit}/mappingresources4pdf_other.zip'"

_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to