]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
ensure Windows system32 added to start of PATH
authorBrian Inglis <bwi@ntp.org>
Sat, 4 Mar 2017 04:41:52 +0000 (04:41 +0000)
committerBrian Inglis <bwi@ntp.org>
Sat, 4 Mar 2017 04:41:52 +0000 (04:41 +0000)
bk: 58ba4590vqJuocafxxezDwYoqLlXsw

ports/winnt/scripts/mkver.bat

index 922fb4c97fa327fb90219774ca8ea1b9a00de429..4b0dcb8e6657e0ddf65e5745b0e3a31c1f76a95a 100755 (executable)
@@ -20,6 +20,9 @@ see notes/remarks directly below this header:
 #
 #
 # Changes:
+# 03/03/2017   Brian Inglis
+#                              - ensure Windows system32 from COMSPEC added to start
+#                                of PATH in case other find commands are on PATH
 # 02/20/2017   Brian Inglis
 #                              - add support for Windows 10 (Home maybe others) rename of
 #                                registry Time Zone info from ActiveTimeBias to Bias
@@ -86,6 +89,7 @@ GOTO USAGE
 
 :BEGIN
 
+SET PATH=%COMSPEC:\cmd.exe=%;%PATH%
 SET GENERATED_PROGRAM=%2
 
 REM *****************************************************************************************************************