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 /config.nmake | |
parent | a3db8960559436d7448e5cd9005c93a99e723ac0 (diff) | |
download | wireshark-4e267ba9ddb2a06dd9918dd1ba0a319b541455c0.tar.gz wireshark-4e267ba9ddb2a06dd9918dd1ba0a319b541455c0.tar.bz2 wireshark-4e267ba9ddb2a06dd9918dd1ba0a319b541455c0.zip |
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 'config.nmake')
-rw-r--r-- | config.nmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config.nmake b/config.nmake index 9b0984983f..8626bbde83 100644 --- a/config.nmake +++ b/config.nmake @@ -793,6 +793,9 @@ SH_FLAGS=-o igncr SH=$(SH_PROG) $(SH_FLAGS) # PowerShell +# Compatibility testing (...or should we always force version 2?) +#POWERSHELL=powershell -Version 2.0 -executionpolicy bypass -File +# Normal POWERSHELL=powershell -executionpolicy bypass -File # command for perl (cygwin's perl package recommended) |