xbps-src: allow to run without git
This makes possible to binary-bootstrap and build packages with only base-system using tarball of void-packages.
This commit is contained in:
parent
9154902b27
commit
4ac333c3b1
3 changed files with 5 additions and 3 deletions
2
xbps-src
2
xbps-src
|
@ -513,7 +513,7 @@ if command -v chroot-git &>/dev/null; then
|
|||
export XBPS_GIT_CMD=$(command -v chroot-git)
|
||||
elif command -v git &>/dev/null; then
|
||||
export XBPS_GIT_CMD=$(command -v git)
|
||||
else
|
||||
elif [ -z "$XBPS_USE_BUILD_MTIME" ] || [ "$XBPS_USE_GIT_REVS" ]; then
|
||||
echo "neither chroot-git or git are available in your system!" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue