[hackers] [wmii] Use $(BINSH) to check shell script syntax rather than sh. || Kris Maglione

From: <hg_AT_suckless.org>
Date: Sat, 22 May 2010 23:04:54 +0000 (UTC)

changeset: 2626:928692b72a7c
tag: tip
user: Kris Maglione <kris_AT_suckless.org>
date: Sat May 22 19:04:18 2010 -0400
files: mk/hdr.mk
description:
Use $(BINSH) to check shell script syntax rather than sh.

diff -r b0cbf2b73b51 -r 928692b72a7c mk/hdr.mk
--- a/mk/hdr.mk Sat May 22 19:02:12 2010 -0400
+++ b/mk/hdr.mk Sat May 22 19:04:18 2010 -0400
@@ -81,7 +81,7 @@
 
 .rc.out .awk.out .sh.out:
         echo FILTER $(BASE)$<
- [ -n "${<:%.sh=}" ] || sh -n $<
+ [ -n "${<:%.sh=}" ] || $(BINSH) -n $<
         set -e; \
         [ -n "${noisycc}" ] && set -x; \
         $(FILTER) $< >$@; \
Received on Sat May 22 2010 - 23:04:54 UTC

This archive was generated by hypermail 2.2.0 : Sat May 22 2010 - 23:12:04 UTC