Skip to content

Commit

Permalink
#105: modify how SERVER_FILES array is created
Browse files Browse the repository at this point in the history
- could work out how the string would be split into an array
- modified the creation of the array so that spaces would be delimeter instead
  • Loading branch information
yiendos committed Jul 15, 2023
1 parent de44cd5 commit ee7842e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
.settings
.DS_Store
.idea
.vscode

# Docker
docker-compose.override.yml
Expand Down
2 changes: 1 addition & 1 deletion bin/jtctl
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ fi

if [ $SERVER_IS_INTERNAL = false ] && [ -n "$SERVER_FILES" ]; then
# Convert SERVER_FILES to an array...
SERVER_FILES=("${SERVER_FILES//:/ }")
SERVER_FILES=($SERVER_FILES)

for FILE in "${SERVER_FILES[@]}"; do
if [ -f "$FILE" ]; then
Expand Down
File renamed without changes.

0 comments on commit ee7842e

Please sign in to comment.