You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ra...@apache.org on 2011/11/09 00:09:26 UTC

git commit: avoid hidden files when finding couch .erl files

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 <ra...@apache.org>
Authored: Tue Nov 8 13:11:08 2011 -0800
Committer: Randall Leeds <ra...@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" \