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
......@@ -6,7 +6,7 @@ then
fi
script_directory=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
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[@]}"
do
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