aboutsummaryrefslogtreecommitdiffstats
path: root/config.nmake
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2014-08-15 08:59:02 -0700
committerGerald Combs <gerald@wireshark.org>2014-08-15 16:35:41 +0000
commit4e267ba9ddb2a06dd9918dd1ba0a319b541455c0 (patch)
treed848452f0f421d05a741a7ab05c7c57ff3ad7f4d /config.nmake
parenta3db8960559436d7448e5cd9005c93a99e723ac0 (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 'config.nmake')
-rw-r--r--config.nmake3
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)