Don't hardcode executable paths

`bash` is not specified to reside under `/bin/bash` on all OSs. E.g. on NixOS it does not.
This commit is contained in:
Merlin Göttlinger 2019-10-15 09:56:56 +02:00 committed by GitHub
parent 22edd31564
commit fcb5a56fa7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
SHELL := /bin/bash
SHELL := /usr/bin/env bash
AGDA := $(shell find . -type f -and \( -path '*/src/*' -or -path '*/courses/*' \) -and -name '*.lagda.md')
AGDAI := $(shell find . -type f -and \( -path '*/src/*' -or -path '*/courses/*' \) -and -name '*.agdai')
MARKDOWN := $(subst courses/,out/,$(subst src/,out/,$(subst .lagda.md,.md,$(AGDA))))