Wireshark-dev: Re: [Wireshark-dev] Windows packaging fails with master
From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx]
On Behalf Of Gerald Combs On 8/15/14 7:38 AM, Graham Bloice wrote:
It looks like the "-File" flag was added to Get-ChildItem in PowerShell 3.0. It seems to work without it so I removed it in g4e267ba. Thanks, packaging works now but I still get some error output: 0 File(s) copied powershell -executionpolicy bypass -File tools/textify.ps1 -Destination wireshark-gtk2 ./COPYING ./NEWS ./README ./README.windows Test-Path : A parameter cannot be found that matches parameter name 'OlderThan' . At C:\ewireshark2\trunk\tools\textify.ps1:85 char:71 + if (-not (Test-Path $dst_file) -or (Test-Path $dst_file -OlderThan <<<<
$src_modtime)) { + CategoryInfo : InvalidArgument: (:) [Test-Path], ParameterBindi
ngException + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Comm
ands.TestPathCommand Test-Path : A parameter cannot be found that matches parameter name 'OlderThan' . At C:\ewireshark2\trunk\tools\textify.ps1:85 char:71 + if (-not (Test-Path $dst_file) -or (Test-Path $dst_file -OlderThan <<<<
$src_modtime)) { + CategoryInfo : InvalidArgument: (:) [Test-Path], ParameterBindi
ngException + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Comm
ands.TestPathCommand Test-Path : A parameter cannot be found that matches parameter name 'OlderThan' . At C:\ewireshark2\trunk\tools\textify.ps1:85 char:71 + if (-not (Test-Path $dst_file) -or (Test-Path $dst_file -OlderThan <<<<
$src_modtime)) { + CategoryInfo : InvalidArgument: (:) [Test-Path], ParameterBindi
ngException + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Comm
ands.TestPathCommand Test-Path : A parameter cannot be found that matches parameter name 'OlderThan' . At C:\ewireshark2\trunk\tools\textify.ps1:85 char:71 + if (-not (Test-Path $dst_file) -or (Test-Path $dst_file -OlderThan <<<<
$src_modtime)) { + CategoryInfo : InvalidArgument: (:) [Test-Path], ParameterBindi
ngException + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Comm
ands.TestPathCommand Regards Anders |
- Follow-Ups:
- Re: [Wireshark-dev] Windows packaging fails with master
- From: Graham Bloice
- Re: [Wireshark-dev] Windows packaging fails with master
- References:
- Re: [Wireshark-dev] Windows packaging fails with master
- From: Anders Broman
- Re: [Wireshark-dev] Windows packaging fails with master
- From: Graham Bloice
- Re: [Wireshark-dev] Windows packaging fails with master
- From: Gerald Combs
- Re: [Wireshark-dev] Windows packaging fails with master
- Prev by Date: Re: [Wireshark-dev] Defining global filters?
- Next by Date: Re: [Wireshark-dev] Defining global filters?
- Previous by thread: Re: [Wireshark-dev] Windows packaging fails with master
- Next by thread: Re: [Wireshark-dev] Windows packaging fails with master
- Index(es):