Skip to content

Commit 488825d

Browse files
authored
Merge pull request #81 from microsoft/devtool-bash
Change install command from sh to bash
2 parents 5987e5c + a7b8c9a commit 488825d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/devtool/devcontainer-feature.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "DevTool",
33
"id": "devtool",
4-
"version": "1.0.2",
4+
"version": "1.0.3",
55
"description": "Install DevTool",
66
"installsAfter": [
77
"ghcr.io/devcontainers/features/common-utils"

src/devtool/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ for i in {1..180}; do
5959
done
6060
echo "::step::Installing DevTool..."
6161
cd /tmp
62-
curl -sL https://aka.ms/InstallToolLinux.sh | sh -s DevTool
62+
curl -sL https://aka.ms/InstallToolLinux.sh | bash -s DevTool
6363
EOF
6464

6565
chmod 755 "$DEVTOOL_SCRIPT_PATH"
@@ -78,4 +78,4 @@ echo "Adding DevTool to PATH for root"
7878
echo "export PATH=\$PATH:/root/.config/DevTool/CurrentVersion" >> /etc/bash.bashrc || true
7979
echo "export PATH=\$PATH:/root/.config/DevTool/CurrentVersion" >> /etc/zsh/zshrc || true
8080

81-
exit 0
81+
exit 0

0 commit comments

Comments
 (0)