Skip to content
Snippets Groups Projects
Commit 43ba5129 authored by Andreas Domanowski's avatar Andreas Domanowski
Browse files

Prevent word splitting in visit script

parent 218dbab6
Branches
No related tags found
1 merge request!1Hedgedoc import
This commit is part of merge request !1. Comments created here will be created in the context of that merge request.
...@@ -6,7 +6,7 @@ then ...@@ -6,7 +6,7 @@ then
fi fi
script_directory=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) script_directory=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
url_file=$script_directory/hedgedoc_documents_to_visit.url url_file=$script_directory/hedgedoc_documents_to_visit.url
readarray -t url_array < $url_file readarray -t url_array < "$url_file"
for i in "${url_array[@]}" for i in "${url_array[@]}"
do do
eval "$open_command $i" eval "$open_command $i"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment