Skip to content

Commit

Permalink
Revert "Allow env.sh to accept additional env var names" (#4144)
Browse files Browse the repository at this point in the history
  • Loading branch information
KonstantinTyukalov committed Feb 6, 2023
1 parent f9ce289 commit a05b12a
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/Misc/layoutroot/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a05b12a

Please sign in to comment.