Skip to content

Commit

Permalink
Use Makefile dir, not cwd
Browse files Browse the repository at this point in the history
  • Loading branch information
Edd Wilder-James committed Aug 18, 2017
1 parent 171c03b commit e652520
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion schema/Makefile
Expand Up @@ -3,7 +3,9 @@
# this is run on a post-receive hook when the deploy
# remote origin is pushed to

DIR:=$(PWD)/$({0%/*})
# deploy won't work if there's spaces in the path... sorry

DIR:=$(dir $(abspath $(lastword $(MAKEFILE_LIST))))

.PHONY: live all

Expand Down

0 comments on commit e652520

Please sign in to comment.