From 4cfd6b1df482602d4813f2527b90688274b21176 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Mon, 20 Jan 2014 16:46:18 -0800 Subject: [PATCH] fix strfile locator shell bits --- signature_stuff/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) $< $@ -- 2.39.2