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.


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

Reply via email to