build: initialise git first (before commands)
Signed-off-by: Leah Rowe <leah@libreboot.org>audit2-merge1
parent
571932d33e
commit
f2b3bb142d
2
build
2
build
|
@ -34,9 +34,9 @@ main()
|
||||||
git_err "git config --global user.name \"John Doe\""
|
git_err "git config --global user.name \"John Doe\""
|
||||||
git config --global user.email 1>/dev/null 2>/dev/null || \
|
git config --global user.email 1>/dev/null 2>/dev/null || \
|
||||||
git_err "git config --global user.email \"john.doe@example.com\""
|
git_err "git config --global user.email \"john.doe@example.com\""
|
||||||
|
git_init
|
||||||
|
|
||||||
initcmd $@
|
initcmd $@
|
||||||
git_init
|
|
||||||
|
|
||||||
[ -f "${spath}" ] || $err "Bad command. Check $projectname docs."
|
[ -f "${spath}" ] || $err "Bad command. Check $projectname docs."
|
||||||
shift 1; "$spath" $@ || $err "excmd: ${spath} ${@}"
|
shift 1; "$spath" $@ || $err "excmd: ${spath} ${@}"
|
||||||
|
|
Loading…
Reference in New Issue