mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-01-20 14:30:48 +00:00
abuild: export $git to fix fatal: not a git repository
We re-spawn abuild and need to pass $git
This commit is contained in:
parent
63467b1ef3
commit
1a4e76dd74
@ -11,7 +11,9 @@ program_version=@VERSION@
|
||||
sharedir=${ABUILD_SHAREDIR:-@sharedir@}
|
||||
|
||||
abuild_path=$(readlink -f $0)
|
||||
git=$(command -v git) || git=true
|
||||
|
||||
: ${git:=$(command -v git || echo true)}
|
||||
export git
|
||||
|
||||
if ! [ -f "$sharedir/functions.sh" ]; then
|
||||
echo "$sharedir/functions.sh: not found" >&2
|
||||
|
Loading…
Reference in New Issue
Block a user