From: Ben Gras Date: Thu, 1 Feb 2007 17:09:49 +0000 (+0000) Subject: simpler /usr/bin/vi check X-Git-Tag: v3.1.3~98 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=047847e628bee28d399e9e424548d034a8a51451;p=minix.git simpler /usr/bin/vi check --- 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