From e565df94fd7a6a4fb2b6a51c3cd938825c66390e Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 30 Dec 2024 00:50:53 +0000 Subject: Fix globbing issue in lbmk When doing e.g. $@ we should use double quotes to prevent globbing. Thanks go to XRevan86 for pointing this out. 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 77a22763..aaeabcd4 100644 --- a/include/git.sh +++ b/include/git.sh @@ -115,7 +115,7 @@ tmpclone() git_am_patches "$3" "$5" ) || repofail="y" - [ "$repofail" = "y" ] && [ $# -lt 6 ] && tmpclone $@ retry + [ "$repofail" = "y" ] && [ $# -lt 6 ] && tmpclone "$@" retry [ "$repofail" = "y" ] && $err "!clone $1 $2 $3 $4 $5"; : } -- cgit v1.2.1