diff options
author | Leah Rowe <leah@libreboot.org> | 2024-12-30 00:50:53 +0000 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-12-30 01:02:22 +0000 |
commit | e565df94fd7a6a4fb2b6a51c3cd938825c66390e (patch) | |
tree | cd8367ed4146962695bf82ced4ec76ba1dc116df /include/git.sh | |
parent | c80cc0a00b6fbe5e94bb35c5760e224ce70c09f0 (diff) |
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 <leah@libreboot.org>
Diffstat (limited to 'include/git.sh')
-rw-r--r-- | include/git.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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"; : } |