couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rand...@apache.org
Subject git commit: avoid hidden files when finding couch .erl files
Date Tue, 08 Nov 2011 23:09:26 GMT
Updated Branches:
  refs/heads/master 9a82e8bee -> 866769f34


avoid hidden files when finding couch .erl files


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/866769f3
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/866769f3
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/866769f3

Branch: refs/heads/master
Commit: 866769f34a0af3f003e817506d4e02fd58c246df
Parents: 9a82e8b
Author: Randall Leeds <randall@apache.org>
Authored: Tue Nov 8 13:11:08 2011 -0800
Committer: Randall Leeds <randall@apache.org>
Committed: Tue Nov 8 13:11:51 2011 -0800

----------------------------------------------------------------------
 src/couchdb/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/866769f3/src/couchdb/Makefile.am
----------------------------------------------------------------------
diff --git a/src/couchdb/Makefile.am b/src/couchdb/Makefile.am
index 121fe6e..cca91ee 100644
--- a/src/couchdb/Makefile.am
+++ b/src/couchdb/Makefile.am
@@ -182,7 +182,7 @@ compiled_files = \
 
 if WINDOWS
 couch.app: couch.app.tpl
-	modules=`find . -name "*.erl" -exec basename {} .erl \; | tr '\n' ',' | sed "s/,$$//"`;
\
+	modules=`find . -name "*.erl" \! -name ".*" -exec basename {} .erl \; | tr '\n' ',' | sed
"s/,$$//"`; \
 	sed -e "s|%package_name%|@package_name@|g" \
 			-e "s|%version%|@version@|g" \
 			-e "s|@modules@|$$modules|g" \
@@ -192,7 +192,7 @@ couch.app: couch.app.tpl
 	$@ < $<
 else
 couch.app: couch.app.tpl
-	modules=`{ find . -name "*.erl" -exec basename {} .erl \; | tr '\n' ','; echo ''; } | sed
"s/,$$//"`; \
+	modules=`{ find . -name "*.erl" \! -name ".*" -exec basename {} .erl \; | tr '\n' ','; echo
''; } | sed "s/,$$//"`; \
 	sed -e "s|%package_name%|@package_name@|g" \
 			-e "s|%version%|@version@|g" \
 			-e "s|@modules@|$$modules|g" \


Mime
View raw message