mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-09 12:41:12 -06:00
Enforce bash as shell in makefile
Was not the case on my debian machine for some reason...
This commit is contained in:
@@ -6,6 +6,11 @@ CLEAN := latexmk -cd -lualatex -c -use-make
|
||||
CHECK_1 := lacheck
|
||||
CHECK_2 := chktex
|
||||
|
||||
# we want bash as shell
|
||||
SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
|
||||
else if [ -x /bin/bash ]; then echo /bin/bash; \
|
||||
else echo sh; fi; fi)
|
||||
|
||||
ifdef DEBUG
|
||||
EBOOK += -a debug
|
||||
WEBSITE += -a debug
|
||||
|
||||
Reference in New Issue
Block a user