Skip to content
This repository was archived by the owner on Aug 26, 2025. It is now read-only.

Commit e24cdf4

Browse files
update init.sh
1 parent 93386f8 commit e24cdf4

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

eng/mgmt/automation/init.sh

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
#!/bin/sh
22

3-
sudo apt-get install -y --upgrade python3-pip python3-setuptools
4-
pip3 install --upgrade wheel
5-
pip3 install --upgrade PyYAML requests
3+
echo Install Python
4+
sudo apt-get install -y --upgrade python3-pip python3-setuptools 2>&1
5+
pip3 install --upgrade wheel 2>&1
6+
pip3 install --upgrade PyYAML requests 2>&1
7+
8+
# install tsp-client globally (local install may interfere with tooling)
9+
echo Install tsp-client
10+
npm install -g @azure-tools/typespec-client-generator-cli
611

712
cat << EOF > $2
813
{"envs": {"PATH": "$JAVA_HOME_11_X64/bin:$PATH", "JAVA_HOME": "$JAVA_HOME_11_X64"}}
9-
EOF
14+
EOF

eng/mgmt/automation/sdk_init.sh

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
#!/bin/sh
22

3-
echo Install Python
4-
apt-get install python3.8 2>&1
5-
apt-get install -y --upgrade python3-pip python3-setuptools 2>&1
6-
7-
# install tsp-client globally (local install may interfere with tooling)
8-
echo Install tsp-client
9-
npm install -g @azure-tools/typespec-client-generator-cli
3+
apt-get install python3.8
4+
apt-get install -y --upgrade python3-pip python3-setuptools
105

116
cat << EOF > $1
127
{}

0 commit comments

Comments
 (0)