File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ case "$filename" in
3636 [[ " $arch " == " x64" ]] || exit 1
3737 ;;
3838 * )
39- echo " ${RED} Unsupported OS/Arch: $os /$arch ${NC} "
39+ echo -e " ${RED} Unsupported OS/Arch: $os /$arch ${NC} "
4040 exit 1
4141 ;;
4242esac
@@ -49,7 +49,7 @@ if [ -z "$requested_version" ]; then
4949 specific_version=$( curl -s https://api.github.com/repos/sst/opencode/releases/latest | awk -F' "' ' /"tag_name": "/ {gsub(/^v/, "", $4); print $4}' )
5050
5151 if [[ $? -ne 0 || -z " $specific_version " ]]; then
52- echo " ${RED} Failed to fetch version information${NC} "
52+ echo -e " ${RED} Failed to fetch version information${NC} "
5353 exit 1
5454 fi
5555else
@@ -96,7 +96,7 @@ download_and_install() {
9696 curl -# -L -o " $filename " " $url "
9797 unzip -q " $filename "
9898 mv opencode " $INSTALL_DIR "
99- cd .. && rm -rf opencodetmp
99+ cd .. && rm -rf opencodetmp
100100}
101101
102102check_version
You can’t perform that action at this time.
0 commit comments