diff options
author | dsainty <dsainty@pkgsrc.org> | 2009-11-12 01:15:31 +0000 |
---|---|---|
committer | dsainty <dsainty@pkgsrc.org> | 2009-11-12 01:15:31 +0000 |
commit | d10e3ee3f9e75777b819b3eacfc4062c8eb36d81 (patch) | |
tree | 60c25a17d2768b95b84f5c1dd450ea669a023149 | |
parent | b503d02e951cbffd719170a2db40ee45c1812d98 (diff) | |
download | pkgsrc-d10e3ee3f9e75777b819b3eacfc4062c8eb36d81.tar.gz |
When fixing Makefile filenames for case, skip attempting to fix filenames that
are already correct.
Stops the build from breaking with errors about the source and destination
being the same.
-rw-r--r-- | textproc/OdfConverter/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/textproc/OdfConverter/Makefile b/textproc/OdfConverter/Makefile index 7b0961b9a38..f9ef9668746 100644 --- a/textproc/OdfConverter/Makefile +++ b/textproc/OdfConverter/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2009/09/02 08:47:15 wiz Exp $ +# $NetBSD: Makefile,v 1.6 2009/11/12 01:15:31 dsainty Exp $ # DISTNAME= OdfAddinForOffice-src-3.0 @@ -46,7 +46,8 @@ FILE_CASE_FIXES+= source/Shell/OdfConverter/OdfValidator.cs post-extract: cd ${WRKDIR} && mv "odf-converter-r5224/trunk" ${DISTNAME:Q} set -e; \ - find "${WRKSRC}" -name '[Mm][Aa][Kk][Ee][Ff][Ii][Ll][Ee]' -print | \ + find "${WRKSRC}" -name Makefile -o \ + -name '[Mm][Aa][Kk][Ee][Ff][Ii][Ll][Ee]' -print | \ while read file; do \ dir=`dirname "$$file"`; mv "$$file" "$$dir/Makefile"; done set -e; files=""; \ |