From 047847e628bee28d399e9e424548d034a8a51451 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Thu, 1 Feb 2007 17:09:49 +0000 Subject: [PATCH] simpler /usr/bin/vi check --- commands/elvis/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/elvis/Makefile b/commands/elvis/Makefile index 17c36bfc8..a0118c2cc 100755 --- a/commands/elvis/Makefile +++ b/commands/elvis/Makefile @@ -72,7 +72,7 @@ install: /usr/bin/elvis \ install -cs -o bin elvis $@ /usr/bin/vi: /usr/bin/elvis - if [ ! -f $@ -a ! -s $@ ]; \ + if [ ! -x $@ ]; \ then install -l $? $@ ; \ fi -- 2.44.0