dbe19021cbe4564aff8871d1dd4ab443a966a6cf max Tue Apr 29 02:38:49 2025 -0700 fixing make beta in htdocs, reported by matt, no redmine diff --git src/hg/htdocs/makefile src/hg/htdocs/makefile index 1266b42cc84..4ceaa0b6cc7 100644 --- src/hg/htdocs/makefile +++ src/hg/htdocs/makefile @@ -1,24 +1,24 @@ kentSrc = ../.. include ../../inc/common.mk GIT = git GITUP = ${GIT} pull ifeq (${FIND},) INSIDEGIT := $(shell git rev-parse --is-inside-work-tree 2>/dev/null) - HASGITFILES := $(shell which gitFiles && echo true) + HASGITFILES := $(shell which gitFiles >/dev/null && echo true) # Default to using find: Mirrors do not have the program 'gitFiles'. Also gitFiles is not needed anyways. # Also, when gitFiles is not present, the make target would silently fail and do nothing. FIND = find ifeq (${INSIDEGIT},true) ifeq (${HASGITFILES},true) FIND = gitFiles endif endif endif # if you need to pick up files not checked-in yet for rsync, # you can run it like this: #