unnecessary assignment

This commit is contained in:
Jack
2020-05-02 09:51:34 +03:00
parent 9f286192f6
commit 9dfc77f2fd
-1
View File
@@ -1426,7 +1426,6 @@ stages='
troubleshoot
'
check_shell
stages_without_newlines="${stages//[$'\r\n']/}"
[[ "${1}" = "documentation" ]] && documentation && exit
if [[ "${1}" = "troubleshoot" ]]; then set_variables; check_dependencies >/dev/null; troubleshoot; exit; fi
stages_without_newlines="${stages//[$'\r\n']/ }" # replace newline with space character