Ticket #13181: TeXmacs-no-cd.diff

File TeXmacs-no-cd.diff, 966 bytes (added by ryandesign (Ryan Carsten Schmidt), 17 years ago)

I believe this fixes it

  • Portfile

     
    6868build.target    { }
    6969
    7070post-destroot   { file mkdir ${destroot}/${prefix}/share/${name}
    71                   cd         ${destroot}/${prefix}/share/${name}
    7271
    73                   system "${extract.cmd} ${extract.pre_args} ${distpath}/${name}-600dpi-fonts${extract.suffix} ${extract.post_args}"
     72                  system "cd ${destroot}/${prefix}/share/${name} && ${extract.cmd} ${extract.pre_args} ${distpath}/${name}-600dpi-fonts${extract.suffix} ${extract.post_args}"
    7473
    75                   cd         ${destroot}/${prefix}/share/
    76                   system "chown -R root:admin ${name}"
     74                  system "chown -R root:admin ${destroot}/${prefix}/share/${name}"
    7775
    7876                  file rename ${destroot}${prefix}/share/${name}/plugins/cadabra \
    7977                              ${destroot}${prefix}/share/${name}/plugins/cadabra.texmacs