This repository was archived by the owner on Jul 11, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,12 +26,19 @@ echo ==^> Detected Windows Platform Version: %PlatformVersionMajor%.%PlatformVer
2626if not defined TEMP set TEMP = %LOCALAPPDATA% \Temp
2727
2828:: Figure out which configuration management tool to use
29- if not defined CM echo ==^ > ERROR: The " CM" variable was not found in the environment & goto exit1
29+ if not defined CM (
30+ echo ==^ > ERROR: The " CM" variable was not found in the environment
31+ goto exit1
32+ )
33+
3034if " %CM% " == " nocm" goto nocm
3135
3236if not defined CM_VERSION (
33- echo ==^ > ERROR: The " CM_VERSION " variable was not found in the environment
37+ echo ==^ > Using default value of " latest " for the " CM_VERSION " environment variable
3438 set CM_VERSION = latest
39+
40+ ) else (
41+ echo ==^ > Found the value " %CM_VERSION% " in the " CM_VERSION" environment variable
3542)
3643
3744if " %CM% " == " chef" goto omnitruck
You can’t perform that action at this time.
0 commit comments