Skip to content
Snippets Groups Projects
Commit 1f0cfbc5 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

Provide fallback for the config version before the site repo has commits

parent 203e5b42
Branches
Tags
No related merge requests found
......@@ -22,7 +22,7 @@ $(GLUON_SITEDIR)/site.mk:
-include $(GLUON_SITEDIR)/site.mk
GLUON_CONFIG_VERSION := $(shell cd $(GLUON_SITEDIR) && git describe --always --dirty=.$$(stat -c %Y $(GLUON_SITEDIR)/site.conf))
GLUON_CONFIG_VERSION := $(shell cd $(GLUON_SITEDIR) && git describe --always --dirty=.$$(stat -c %Y $(GLUON_SITEDIR)/site.conf) 2>/dev/null || stat -c %Y site.conf)
export GLUON_CONFIG_VERSION
define merge-lists
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment