aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3f15ce4..e3fc1ad 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,10 @@ js_src_dir := src
# Misc variables.
PATH := vendor/bin:node_modules/.bin:$(PATH)
-SHELL := PATH=$(PATH) /bin/bash
+
+ifneq ($(OS),Windows_NT) # Not for Windows
+ SHELL := PATH=$(PATH) /bin/bash
+endif
override GIT_VERSION := $(shell git --no-pager describe --always --tags)
override CUR_VERSION := $(strip $(shell cat VERSION 2>/dev/null))
override WEBPACK_FLAGS += $(if $(filter $(ENV),dist),-p)