Skip to content

Commit 8bca489

Browse files
authored
Merge pull request #1231 from LourensVeen/issue_1188_old_make
Fix version detection to work with older gmakes
2 parents 5686db4 + 0817d23 commit 8bca489

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

support/shared/version.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
AMUSE_VERSION := $(patsubst v%,%,$(shell git describe --tags))
22

33
ifeq (,$(AMUSE_VERSION))
4-
AMUSE_VERSION := $(shell grep -v '^#' ../../VERSION)
4+
H := #
5+
AMUSE_VERSION := $(shell grep -v '^$H' ../../VERSION)
56
endif
67

78
export AMUSE_VERSION

0 commit comments

Comments
 (0)