svn commit: r364868 - projects/release-git/release
Glen Barber
gjb at FreeBSD.org
Thu Aug 27 14:36:00 UTC 2020
Author: gjb
Date: Thu Aug 27 14:36:00 2020
New Revision: 364868
URL: https://svnweb.freebsd.org/changeset/base/364868
Log:
Correct the conditional evaluating if git exists.
Pointyhat to: gjb (myself)
Sponsored by: Rubicon Communications, LLC (netgate.com)
Modified:
projects/release-git/release/release.sh
Modified: projects/release-git/release/release.sh
==============================================================================
--- projects/release-git/release/release.sh Thu Aug 27 14:33:46 2020 (r364867)
+++ projects/release-git/release/release.sh Thu Aug 27 14:36:00 2020 (r364868)
@@ -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)
More information about the svn-src-projects
mailing list