diff options
author | jschauma <jschauma> | 2004-06-27 22:54:21 +0000 |
---|---|---|
committer | jschauma <jschauma> | 2004-06-27 22:54:21 +0000 |
commit | 6a7647ddf04cc9744b3414960fa16d86973b4e60 (patch) | |
tree | 452a28e021ec8da502ddfbbda0e794b57dffcc22 /mk/defs.Linux.mk | |
parent | c93c54f0bdab92001955ef62dcb050abae8b6505 (diff) | |
download | pkgsrc-6a7647ddf04cc9744b3414960fa16d86973b4e60.tar.gz |
Use shell builtins where possible, particularly for TEST.
Pointed out by Roland Illig on tech-pkg.
Diffstat (limited to 'mk/defs.Linux.mk')
-rw-r--r-- | mk/defs.Linux.mk | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/mk/defs.Linux.mk b/mk/defs.Linux.mk index 6cdfe3c0f29..2f3601e8af0 100644 --- a/mk/defs.Linux.mk +++ b/mk/defs.Linux.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.Linux.mk,v 1.73 2004/06/18 11:22:41 kristerw Exp $ +# $NetBSD: defs.Linux.mk,v 1.74 2004/06/27 22:54:21 jschauma Exp $ # # Variable definitions for the Linux operating system. @@ -30,7 +30,7 @@ EGREP?= /bin/egrep EGREP?= /usr/bin/egrep .endif EXPR?= /usr/bin/expr -FALSE?= /bin/false +FALSE?= false # Shell builtin .if exists(/bin/fgrep) FGREP?= /bin/fgrep .elif exists(/usr/bin/fgrep) @@ -116,20 +116,16 @@ SU?= /bin/su TAIL?= /usr/bin/tail TAR?= ${LOCALBASE}/bin/tar TEE?= /usr/bin/tee -.if exists(/bin/test) -TEST?= /bin/test -.else -TEST?= /usr/bin/test -.endif +TEST?= test # Shell builtin .if exists(/bin/touch) TOUCH?= /bin/touch .else TOUCH?= /usr/bin/touch .endif TR?= /usr/bin/tr -TRUE?= /bin/true +TRUE?= true # Shell builtin TSORT?= /usr/bin/tsort -TYPE?= type +TYPE?= type # Shell builtin WC?= /usr/bin/wc XARGS?= /usr/bin/xargs -r |