makepkg: fix git checksumming depends on user config
(cherry picked from commit 8e30cd4e38
)
This commit is contained in:
parent
abec6bc139
commit
bdd6680aae
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ calc_checksum_git() {
|
|||
case ${fragment%%=*} in
|
||||
tag|commit)
|
||||
fragval=${fragment##*=}
|
||||
sum=$(git -c core.abbrev=no -C "$dir" archive --format tar "$fragval" | "${integ}sum" 2>&1) || ret=1
|
||||
sum=$(GIT_CONFIG_GLOBAL=/dev/null GIT_CONFIG_SYSTEM=/dev/null git -c core.abbrev=no -C "$dir" archive --format tar "$fragval" | "${integ}sum" 2>&1) || ret=1
|
||||
sum="${sum%% *}"
|
||||
;;
|
||||
*)
|
||||
|
|
Loading…
Add table
Reference in a new issue