From 1eb4df6748f94a08d44c623a56417199b99b371d Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 16 Dec 2023 07:56:26 +0000 Subject: fix several shellcheck warnings lbmk didn't quote certain arguments in commands, or used ! -z instead of -n, things like that. simple fixes. Signed-off-by: Leah Rowe --- include/git.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/git.sh') diff --git a/include/git.sh b/include/git.sh index 811b298a..9a73bd92 100755 --- a/include/git.sh +++ b/include/git.sh @@ -123,7 +123,7 @@ clone_project() [ "${patchfail}" = "y" ] && err "PATCH FAIL" x_ rm -Rf "${loc}" - [ "${loc}" = "${loc%/*}" ] || x_ mkdir -p ${loc%/*} + [ "${loc}" = "${loc%/*}" ] || x_ mkdir -p "${loc%/*}" mv "${tmp_git_dir}" "${loc}" || \ err "clone_project: !mv ${tmp_git_dir} ${loc}" } -- cgit v1.2.1