Skip to content

Commit a116dff

Browse files
committed
update devcontainer on create process
1 parent 2ae1b3c commit a116dff

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.devcontainer/on_create_command.sh

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1+
#!/bin/sh
12
# setup
23

3-
sudo pip install -U pip setuptools wheel setuptools_scm
4-
sudo pip install -r requirements-dev.txt
4+
set -ex
55

6-
# Install Transifex CLI tool
6+
pip install -U pip setuptools wheel setuptools_scm
7+
pip install -r requirements-dev.txt
8+
9+
# Install Transifex CLI tool into /usr/local/bin
710
# refer to Installation instructions https://github.com/transifex/cli#installation
811

9-
(cd `mktemp -d` && curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash && sudo mv ./tx /usr/local/bin )
12+
(cd /usr/local/bin && curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | sudo bash)

0 commit comments

Comments
 (0)