Permalink
Browse files

Issue 117 - Rakefile complains about hardlinks to directories

Simplify the file list to shut up the warnings about hardlinks.

Signed-off-by: R.I.Pienaar <rip@devco.net>
  • Loading branch information...
ripienaar authored and The Marionette Collective committed Aug 18, 2010
1 parent f8ba9dc commit 86a0e4b9568660ee38347b5326489fb248b89e2e
Showing with 2 additions and 10 deletions.
  1. +1 −10 Rakefile
  2. +1 −0 website/changelog.textile
View
@@ -10,18 +10,9 @@ PROJ_VERSION = "0.4.7"
PROJ_RELEASE = "1"
PROJ_NAME = "mcollective"
PROJ_RPM_NAMES = [PROJ_NAME]
-PROJ_FILES = ["#{PROJ_NAME}.spec", "#{PROJ_NAME}.init", "mcollectived.rb", "COPYING", "doc"]
-PROJ_SUBDIRS = ["etc", "lib", "plugins", "ext"]
+PROJ_FILES = ["#{PROJ_NAME}.spec", "#{PROJ_NAME}.init", "mcollectived.rb", "COPYING", "doc", "etc", "lib", "plugins", "ext"]
PROJ_FILES.concat(Dir.glob("mc-*"))
-Find.find("etc", "lib", "plugins", "ext") do |f|
- if FileTest.directory?(f) and f =~ /\.svn/
- Find.prune
- else
- PROJ_FILES << f
- end
-end
-
ENV["RPM_VERSION"] ? CURRENT_VERSION = ENV["RPM_VERSION"] : CURRENT_VERSION = PROJ_VERSION
ENV["BUILD_NUMBER"] ? CURRENT_RELEASE = ENV["BUILD_NUMBER"] : CURRENT_RELEASE = PROJ_RELEASE
@@ -7,6 +7,7 @@ h2. Changelog
h3. Version 0.4.x
|_. Date|_. Description|_. Ticket|
+|2010/08/18|Clean up some hardlink warnings in the Rakefile|117|
|2010/08/18|Include the website in the main repo and add a simple Rake task|118|
|2010/08/17|Handle exceptions for missing plugins better|115|
|2010/08/17|Add support for ~/.mcollective as a config file|114|

0 comments on commit 86a0e4b

Please sign in to comment.