Changes between Version 79 and Version 80 of PortfileRecipes
- Timestamp:
- Oct 13, 2014, 1:22:17 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PortfileRecipes
v79 v80 58 58 59 59 == Using glob results in "Cannot stat: <list of files>" == #glob 60 glob returns a list which is not handled by some commands (e.g. xinstall); instead, wrap the command in an eval. Instead of60 glob returns a list which is not handled by some commands (e.g. xinstall); instead, use argument expansion, introduced with Tcl 8.5. Instead of 61 61 {{{ 62 62 xinstall -m 644 [glob ${worksrcpath}/docs/*.html] ${destroot}${prefix}/share/doc/${subport} … … 64 64 which fails with the "Cannot stat..." error, instead use 65 65 {{{ 66 eval xinstall -m 644[glob ${worksrcpath}/docs/*.html] ${destroot}${prefix}/share/doc/${subport}66 xinstall -m 644 {*}[glob ${worksrcpath}/docs/*.html] ${destroot}${prefix}/share/doc/${subport} 67 67 }}} 68 68