Skip to content

Commit d225ba4

Browse files
authored
Revert yarnpkg#1553 and instead just use Bash explicitly (yarnpkg#1580)
1 parent 5d23b74 commit d225ba4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

scripts/install-latest.sh

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
#!/bin/sh
1+
#!/bin/bash
22
set -e
33

4-
reset=`tput sgr0`
5-
red=`tput setaf 1`
6-
green=`tput setaf 2`
7-
cyan=`tput setaf 6`
8-
white=`tput setaf 7`
4+
reset="\e[0m"
5+
red="\e[0;31m"
6+
green="\e[0;32m"
7+
cyan="\e[0;36m"
8+
white="\e[0;37m"
99

1010
yarn_get_tarball() {
1111
printf "$cyan> Downloading tarball...$reset\n"

0 commit comments

Comments
 (0)