diff --git a/scripts/linkFiles.sh b/scripts/linkFiles.sh index 951e7ff..e753d89 100755 --- a/scripts/linkFiles.sh +++ b/scripts/linkFiles.sh @@ -95,6 +95,7 @@ loopThroughFiles() { msg="\nSelect the files that you want to install." files=("$(displayDialogBox --checklist "$msg" VALUES "${files[@]}" 3>&1 1>&2 2>&3)") + files=(${files[@]//$'\n'/ }) fi password=$(displayDialogBox --passwordbox "\nEnter your password." VALUES 3>&1 1>&2 2>&3)