commit 8fe0e02eb4ee65d68373229fc3627f5e2eb6a993
parent 5cd40801d23b8cf9f4c3c04126b4d000a508e093
Author: Kris Maglione <kris@suckless.org>
Date: Sat, 22 May 2010 19:04:18 -0400
Use $(BINSH) to check shell script syntax rather than sh.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mk/hdr.mk b/mk/hdr.mk
@@ -81,7 +81,7 @@ MAKEFILES=.depend
.rc.out .awk.out .sh.out:
echo FILTER $(BASE)$<
- [ -n "${<:%.sh=}" ] || sh -n $<
+ [ -n "${<:%.sh=}" ] || $(BINSH) -n $<
set -e; \
[ -n "${noisycc}" ] && set -x; \
$(FILTER) $< >$@; \