[143330] trunk/dports/devel/docker-machine/Portfile

Gustaf Neumann neumann at wu.ac.at
Sun Dec 13 08:24:21 PST 2015


Am 13.12.15 um 01:48 schrieb Sean Farley:
>> $ port lint docker-machine
>> --->  Verifying Portfile for docker-machine
>> Warning: Line 37 should use the expansion operator instead of the eval procedure. Change
>> Warning:     eval xinstall -m 755 [glob ${worksrcpath}/bin/*] ${destroot}${prefix}/bin/
>> Warning: to
>> Warning:     xinstall -m 755 {*}[glob ${worksrcpath}/bin/*] ${destroot}${prefix}/bin/
>> Warning: Line 42 should use the expansion operator instead of the eval procedure. Change
>> Warning:         eval xinstall -m 644 [glob ${worksrcpath}/contrib/completion/bash/*.bash] ${destroot}${completions_path}/
>> Warning: to
>> Warning:         xinstall -m 644 {*}[glob ${worksrcpath}/contrib/completion/bash/*.bash] ${destroot}${completions_path}/
>> Huzzah! Will do.
> It seems there is an error in our linter:
The recommendation with "{*}{*}" is wrong, but one should remove the 
"eval" before "xinstall",
then lint will be probably fine...

-g
>
> --->  Verifying Portfile for docker-machine
> Warning: Line 37 should use the expansion operator instead of the eval procedure. Change
> Warning:     eval xinstall -m 755 {*}[glob ${worksrcpath}/bin/*] ${destroot}${prefix}/bin/
> Warning: to
> Warning:     xinstall -m 755 {*}{*}[glob ${worksrcpath}/bin/*] ${destroot}${prefix}/bin/
> Warning: Line 42 should use the expansion operator instead of the eval procedure. Change
> Warning:         eval xinstall -m 644 {*}[glob ${worksrcpath}/contrib/completion/bash/*.bash] ${destroot}${completions_path}/
> Warning: to
> Warning:         xinstall -m 644 {*}{*}[glob ${worksrcpath}/contrib/completion/bash/*.bash] ${destroot}${completions_path}/
> --->  0 errors and 2 warnings found.
>



More information about the macports-dev mailing list