mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-24 03:37:16 +00:00
Correct the conditional evaluating if git exists.
Pointyhat to: gjb (myself) Sponsored by: Rubicon Communications, LLC (netgate.com)
This commit is contained in:
parent
eade353551
commit
884ea3e64c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/release-git/; revision=364868
|
@ -266,7 +266,7 @@ extra_chroot_setup() {
|
|||
# Install git from ports or packages if the ports tree is
|
||||
# available and VCSCMD is unset.
|
||||
_gitcmd="$(which git)"
|
||||
if [ -d ${CHROOTDIR}/usr/ports -a ! -z "${_gitcmd}" ]; then
|
||||
if [ -d ${CHROOTDIR}/usr/ports -a -z "${_gitcmd}" ]; then
|
||||
# Trick the ports 'run-autotools-fixup' target to do the right
|
||||
# thing.
|
||||
_OSVERSION=$(chroot ${CHROOTDIR} /usr/bin/uname -U)
|
||||
|
|
Loading…
Reference in a new issue