Ignore:
Timestamp:
Jan 13, 2016, 7:58:27 AM (4 years ago)
Author:
ryandesign@…
Message:

mysql-zrm: use expansion operator instead of eval

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/databases/mysql-zrm/Portfile

    r144579 r144580  
    6060destroot {
    6161    xinstall -m 755 -d ${destroot}${prefix}/bin
    62     eval xinstall -m 755 [glob ${worksrcpath}/usr/bin/*] \
     62    xinstall -m 755 {*}[glob ${worksrcpath}/usr/bin/*] \
    6363        ${destroot}${prefix}/bin
    6464
     
    6868    xinstall -m 444 ${worksrcpath}/usr/lib/mysql-zrm/Data/Report/Base.pm \
    6969        ${destroot}${prefix}/lib/mysql-zrm/Data/Report
    70     eval xinstall -m 444 [glob ${worksrcpath}/usr/lib/mysql-zrm/Data/Report/Plugin/*] \
     70    xinstall -m 444 {*}[glob ${worksrcpath}/usr/lib/mysql-zrm/Data/Report/Plugin/*] \
    7171         ${destroot}${prefix}/lib/mysql-zrm/Data/Report/Plugin
    7272
    7373    xinstall -m 755 -d ${destroot}${prefix}/lib/mysql-zrm/XML
    74     eval xinstall -m 444 [glob ${worksrcpath}/usr/lib/mysql-zrm/XML/*] \
     74    xinstall -m 444 {*}[glob ${worksrcpath}/usr/lib/mysql-zrm/XML/*] \
    7575        ${destroot}${prefix}/lib/mysql-zrm/XML
    7676
    7777    xinstall -m 755 -d ${destroot}${prefix}/lib/mysql-zrm/ZRM
    78     eval xinstall -m 444 [glob ${worksrcpath}/usr/lib/mysql-zrm/ZRM/*] \
     78    xinstall -m 444 {*}[glob ${worksrcpath}/usr/lib/mysql-zrm/ZRM/*] \
    7979        ${destroot}${prefix}/lib/mysql-zrm/ZRM
    8080
    8181    xinstall -m 755 -d ${destroot}${prefix}/share/doc/MySQL-zrm-${version}
    82     eval xinstall -m 444 [glob ${worksrcpath}/usr/share/doc/MySQL-zrm-${version}/*] \
     82    xinstall -m 444 {*}[glob ${worksrcpath}/usr/share/doc/MySQL-zrm-${version}/*] \
    8383        ${destroot}${prefix}/share/doc/MySQL-zrm-${version}
    8484
    8585    xinstall -m 755 -d ${destroot}${prefix}/share/man/man1
    86     eval xinstall -m 444 [glob ${worksrcpath}/usr/share/man/man1/*] \
     86    xinstall -m 444 {*}[glob ${worksrcpath}/usr/share/man/man1/*] \
    8787        ${destroot}${prefix}/share/man/man1
    8888
    8989    xinstall -m 755 -d ${destroot}${prefix}/share/man/man5
    90     eval xinstall -m 444 [glob ${worksrcpath}/usr/share/man/man5/*] \
     90    xinstall -m 444 {*}[glob ${worksrcpath}/usr/share/man/man5/*] \
    9191        ${destroot}${prefix}/share/man/man5
    9292
    9393    xinstall -m 755 -d ${destroot}${prefix}/share/mysql-zrm/plugins
    94     eval xinstall -m 444 [glob ${worksrcpath}/usr/share/mysql-zrm/plugins/*] \
     94    xinstall -m 444 {*}[glob ${worksrcpath}/usr/share/mysql-zrm/plugins/*] \
    9595        ${destroot}${prefix}/share/mysql-zrm/plugins
    9696
    9797    xinstall -m 755 -d ${destroot}${prefix}/etc/mysql-zrm
    98     eval xinstall -m 644 [glob ${worksrcpath}/etc/mysql-zrm/*] \
     98    xinstall -m 644 {*}[glob ${worksrcpath}/etc/mysql-zrm/*] \
    9999        ${destroot}${prefix}/etc/mysql-zrm
    100100
Note: See TracChangeset for help on using the changeset viewer.