diff options
| author | cgd <cgd@NetBSD.org> | 2001-01-16 02:42:39 +0000 |
|---|---|---|
| committer | cgd <cgd@NetBSD.org> | 2001-01-16 02:42:39 +0000 |
| commit | c338834cd93648b7b8eadc5624daa46fb9db032a (patch) | |
| tree | c15e3fa4c1aa8c16086daa01e33cdc03a226b8ec /include | |
| parent | 9cfe468c7430c209c5b31f28eb655d799d42bc9a (diff) | |
use expr to do subtraction. shell math isn't as portable.
Diffstat (limited to 'include')
| -rw-r--r-- | include/rpc/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/rpc/Makefile b/include/rpc/Makefile index 4755fc9b483..1ec2e29d70f 100644 --- a/include/rpc/Makefile +++ b/include/rpc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2001/01/07 06:56:15 enami Exp $ +# $NetBSD: Makefile,v 1.5 2001/01/16 02:42:39 cgd Exp $ # INCS= auth.h auth_unix.h clnt.h clnt_soc.h nettype.h \ @@ -11,7 +11,7 @@ XRPCGEN != (cd ${.CURDIR} && ${MAKE} -B ${MAKEFLAGS} getrpcgen) .endif getrpcgen: - @set -- X `type ${RPCGEN}` && shift $$(($$# - 1)) && echo "$$1" + @set -- X `type ${RPCGEN}` && shift `expr $$# - 1` && echo "$$1" rpcb_prot.h:: rpcb_prot.x ${XRPCGEN} ${RPCGEN} -h ${.CURDIR}/rpcb_prot.x -o ${.TARGET} |
