]> git.donarmstrong.com Git - lib.git/blobdiff - signature_stuff/Makefile
fix strfile locator shell bits
[lib.git] / signature_stuff / Makefile
index 6fb65beb98cba2978ec3da5673a9a5a2df823f75..1c1676f401bdd885b0066fb9ac42edaf66f64d4a 100644 (file)
@@ -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) $< $@