diff options
author | Gerald Combs <gerald@wireshark.org> | 2014-08-15 08:59:02 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2014-08-15 16:35:41 +0000 |
commit | 4e267ba9ddb2a06dd9918dd1ba0a319b541455c0 (patch) | |
tree | d848452f0f421d05a741a7ab05c7c57ff3ad7f4d /tools | |
parent | a3db8960559436d7448e5cd9005c93a99e723ac0 (diff) |
Windows: Fix PowerShell 2.0 compatibility.
PowerShell 2.0's Get-ChildItem doesn't support "-File" even though
http://technet.microsoft.com/en-us/library/hh847897.aspx says otherwise.
Add a config.nmake option to test PS 2.0 compatibility.
Change-Id: I8de83cd0841d4ab0b01351c2d39084578a2c84ee
Reviewed-on: https://code.wireshark.org/review/3625
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/textify.ps1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/textify.ps1 b/tools/textify.ps1 index a5088f15b2..c994b8aa75 100755 --- a/tools/textify.ps1 +++ b/tools/textify.ps1 @@ -68,7 +68,7 @@ Param( $no_bom_encoding = New-Object System.Text.UTF8Encoding($False) -foreach ($src_file in Get-ChildItem -File $SourceFiles) { +foreach ($src_file in Get-ChildItem $SourceFiles) { if ($Destination) { $base = Split-Path -Leaf $src_file $dst_file = Join-Path $Destination $base |