Bruce Cran [mailto:[email protected]] wrote:

]It appears that Edk2Setup.bat from the latest code is ignoring the
]%PATH% variable from the current shell and resetting it to the
]system-wide setting:
]
]C:\UDK2014>svn
]Type 'svn help' for usage.
]
]C:\UDK2014>Edk2Setup.bat --pull
]
]WARNING : NASM_PREFIX environment variable is not set
]  Attempting to build modules that require NASM will fail.
]'svn' is not recognized as an internal or external command,
]operable program or batch file.
]ERROR : The command-line svn tool is not available and the Win32
]binaries do not exist
]        Python does not appear to be available either. This script
]cannot be used to
]        build the Win32 binaries or to obtain them from this repository:
]           https://svn.code.sf.net/p/edk2-toolbinaries/code/trunk/Win32
]
]C:\UDK2014>svn
]'svn' is not recognized as an internal or external command,
]operable program or batch file.
]

I bet if you first clear environment variable "ORIGINAL_PATH", the problem will 
disappear:

C:\UDK2014>ORIGINAL_PATH=
C:\UDK2014>Edk2Setup.bat --pull

Probably Edk2Setup.bat was meant to clear ORIGINAL_PATH before exit, but it 
doesn't.
setlocal/endlocal is simpler way of saving/restoring the path, along with all 
the EVs.

Thanks,
Scott

]-- 
]Bruce



------------------------------------------------------------------------------
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to