Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db387d5 commit 89ba0cbCopy full SHA for 89ba0cb
doc/Makefile
@@ -82,7 +82,7 @@ gitwash-update:
82
83
#SPHINXBUILD="LANG=C sphinx-build"
84
NUMPYVER:=$(shell $(PYTHON) -c "import numpy; print(numpy.version.git_revision[:7])" 2>/dev/null)
85
-GITVER ?= $(shell (cd ..; git rev-parse HEAD | cut -c1-7) || echo Unknown)
+GITVER ?= $(shell (cd ..; set -o pipefail && git rev-parse HEAD 2>/dev/null | cut -c1-7) || echo Unknown)
86
87
version-check:
88
ifeq "$(GITVER)" "Unknown"
0 commit comments