From: Don Armstrong Date: Tue, 21 Jan 2014 00:46:18 +0000 (-0800) Subject: fix strfile locator shell bits X-Git-Url: https://git.donarmstrong.com/?p=lib.git;a=commitdiff_plain;h=4cfd6b1df482602d4813f2527b90688274b21176 fix strfile locator shell bits --- diff --git a/signature_stuff/Makefile b/signature_stuff/Makefile index 6fb65be..1c1676f 100644 --- a/signature_stuff/Makefile +++ b/signature_stuff/Makefile @@ -1,7 +1,7 @@ all: $(patsubst %.txt,%.txt.dat,$(wildcard *.txt)) -STRFILE=$(shell which strfile || echo touch -r) +STRFILE=$(shell if which strfile >/dev/null 2>&1; then which strfile; else echo touch -r; fi) %.txt.dat: %.txt $(STRFILE) $< $@