Module Name: src Committed By: apb Date: Sun Nov 18 19:52:40 UTC 2012
Modified Files: src/share/mk: bsd.clean.mk Log Message: Under "Failed to remove the following files from ${_d}:", print one file name per line, indented to make the list more visible. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/share/mk/bsd.clean.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/mk/bsd.clean.mk diff -u src/share/mk/bsd.clean.mk:1.5 src/share/mk/bsd.clean.mk:1.6 --- src/share/mk/bsd.clean.mk:1.5 Tue Nov 22 18:25:48 2011 +++ src/share/mk/bsd.clean.mk Sun Nov 18 19:52:40 2012 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.clean.mk,v 1.5 2011/11/22 18:25:48 apb Exp $ +# $NetBSD: bsd.clean.mk,v 1.6 2012/11/18 19:52:40 apb Exp $ # <bsd.clean.mk> # @@ -65,10 +65,12 @@ __cleanuse: .USE (cd ${_d} && rm -f ${.ALLSRC:@v@${${v}}@} || true) } .if "${MKCLEANVERIFY}" == "yes" @${"${.ALLSRC:@v@${${v}:M*}@:Q}" == "":?true: \ - bad="\$(cd ${_d} && ls -d ${.ALLSRC:@v@${${v}}@} 2>/dev/null)"; \ + bad="\$(cd ${_d} && ls -1d ${.ALLSRC:@v@${${v}}@} 2>/dev/null)"; \ if test -n "\$bad"; then \ - echo "Failed to remove files from ${_d}:" ; \ - echo "\$bad" ; \ + echo "Failed to remove the following files from ${_d}:" ; \ + echo "\$bad" | while read file ; do \ + echo " \$file" ; \ + done ; \ false ; \ fi } .endif