Skip to content

Commit 93965ed

Browse files
committed
applied array changes
1 parent b04683c commit 93965ed

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

code-server/run.sh

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,6 @@ BOLD='\033[0;1m'
55
CODE='\033[36;40;1m'
66
RESET='\033[0m'
77

8-
printf "ext string$${EXTENSIONS}"
9-
10-
IFS=',' read -r -a extArr <<< "$${EXTENSIONS}"
11-
12-
for i in "$${extArr[@]}"; do
13-
echo " h: $i"
14-
done
15-
168
printf "$${BOLD}Installing code-server!\n"
179

1810
ARGS=(
@@ -33,7 +25,8 @@ printf "🥳 code-server has been installed in ${INSTALL_PREFIX}\n\n"
3325
CODE_SERVER="${INSTALL_PREFIX}/bin/code-server"
3426

3527
# Install each extension...
36-
for extension in "$${EXTENSIONS[@]}"; do
28+
IFS=',' read -r -a EXTENSIONLIST <<< "$${EXTENSIONS}"
29+
for extension in "$${EXTENSIONLIST[@]}"; do
3730
if [ -z "$extension" ]; then
3831
continue
3932
fi

0 commit comments

Comments
 (0)