makepkg: fix git checksumming depends on user config
This commit is contained in:
parent
03d884d7ff
commit
8e30cd4e38
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ calc_checksum_git() {
|
||||||
case ${fragment%%=*} in
|
case ${fragment%%=*} in
|
||||||
tag|commit)
|
tag|commit)
|
||||||
fragval=${fragment##*=}
|
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%% *}"
|
sum="${sum%% *}"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Add table
Reference in a new issue