diff --git a/src/Misc/layoutroot/env.sh b/src/Misc/layoutroot/env.sh index 92b597f4f6..6710a5a328 100755 --- a/src/Misc/layoutroot/env.sh +++ b/src/Misc/layoutroot/env.sh @@ -17,16 +17,6 @@ varCheckList=( 'AGENT_TOOLSDIRECTORY' ) -# Allows the caller to specify additional vars on the commandline, for example: -# ./env.sh DOTNET_SYSTEM_GLOBALIZATION_INVARIANT DOTNET_ROOT -for arg in "$@" -do - if [[ ! " ${varCheckList[@]} " =~ " ${arg} " ]]; then - varCheckList+=($arg) - fi -done - - envContents="" if [ -f ".env" ]; then