Skip to content

Commit 0c7ba1f

Browse files
committed
Use tee for echo sudo
Signed-off-by: Philippe Ombredanne <[email protected]>
1 parent 105b125 commit 0c7ba1f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,10 @@ jobs:
108108
container: 'debian:stretch'
109109
python_version: '3.6'
110110
install_python: |
111-
sudo echo "deb http://ftp.debian.org/debian testing main" >> /etc/apt/sources.list
111+
echo "deb http://ftp.debian.org/debian testing main" | sudo tee -a /etc/apt/sources.list
112112
sudo apt-get update
113113
sudo apt-get install -t testing python3.6 python3.6-dev
114114
115-
116115
- template: etc/ci/azure-container-rpm.yml
117116
parameters:
118117
name: CentOS7_py27

0 commit comments

Comments
 (0)