Subject: CVS commit: src/share/mk
To: None <source-changes@NetBSD.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 07/20/2003 15:02:12
Module Name: src
Committed By: lukem
Date: Sun Jul 20 15:02:11 UTC 2003
Modified Files:
src/share/mk: bsd.kinc.mk bsd.obj.mk
Log Message:
Use ltarg=`stat -qf '%Y' $l` to read a symlink's target (and rely upon
a non-zero exit value to indicate a missing file or non-symlink),
instead of test -h $l && ltarg=`ls -ld $l | awk '{print $NF}'`
since the former is quicker and more concise.
To generate a diff of this commit:
cvs rdiff -r1.26 -r1.27 src/share/mk/bsd.kinc.mk
cvs rdiff -r1.41 -r1.42 src/share/mk/bsd.obj.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.