From 342a4120af0d01197e1d65a5df4fadbeb7fa6fc3 Mon Sep 17 00:00:00 2001 From: Jonathan Cobb Date: Sun, 22 Nov 2020 07:31:36 -0500 Subject: [PATCH] add line continuation --- bin/git_https_submodules.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/git_https_submodules.sh b/bin/git_https_submodules.sh index 3d57bad2..fc97bab2 100755 --- a/bin/git_https_submodules.sh +++ b/bin/git_https_submodules.sh @@ -19,9 +19,9 @@ cat "${GIT_MODS}" | while read -r line; do done if [[ -f "${CHANGED_MARKER}" ]]; then - cd "${SCRIPT_DIR}/.." && - git update-index --assume-unchanged "$(basename "${GIT_MODS}")" && - mv "${GIT_TEMP_FILE}" "${GIT_MODS}" || + cd "${SCRIPT_DIR}/.." && \ + git update-index --assume-unchanged "$(basename "${GIT_MODS}")" && \ + mv "${GIT_TEMP_FILE}" "${GIT_MODS}" || \ echo "$0: error updating file: ${GIT_MODS}" fi rm -f "${CHANGED_MARKER}"