diff options
author | Brenton Leanhardt <bleanhar@redhat.com> | 2008-07-11 18:22:23 -0400 |
---|---|---|
committer | Brenton Leanhardt <bleanhar@redhat.com> | 2008-07-11 18:25:22 -0400 |
commit | 21d197500f5028f24768134b0156f4acaf81c49c (patch) | |
tree | 19e512826e1d6dda5dd3a3390f898331b5a59713 | |
parent | 501cfbf10383b747e5d2ca4c3bedbc7efd6cda69 (diff) | |
download | tools-21d197500f5028f24768134b0156f4acaf81c49c.tar.gz tools-21d197500f5028f24768134b0156f4acaf81c49c.tar.xz tools-21d197500f5028f24768134b0156f4acaf81c49c.zip |
More genome-sync superproject fixes
-rw-r--r-- | genome-sync/bin/genome-sync | 5 | ||||
-rw-r--r-- | genome-sync/extra/genome-sync.spec | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/genome-sync/bin/genome-sync b/genome-sync/bin/genome-sync index 3c16e5b..e80800b 100644 --- a/genome-sync/bin/genome-sync +++ b/genome-sync/bin/genome-sync @@ -179,8 +179,9 @@ Main { end def working_git_dirs - # The single * is important. Else superproject could get picked up - Dir[workingdir + "/*/.git"].map {|g| File.dirname(g)} + Dir[workingdir + "/**/.git"].reject do |g| + g == File.join(workingdir, ".git") # ignore superprojects + end.map {|g| File.dirname(g)} end # Just a helper method. Handle recovery diff --git a/genome-sync/extra/genome-sync.spec b/genome-sync/extra/genome-sync.spec index fa68451..474f312 100644 --- a/genome-sync/extra/genome-sync.spec +++ b/genome-sync/extra/genome-sync.spec @@ -6,7 +6,7 @@ Summary: A tool for syncronizing Genome Repositories Name: rubygem-%{gemname} Version: 1.0.0 -Release: 7%{?dist} +Release: 8%{?dist} Group: Development/Languages License: GPLv2 URL: https://fedorahosting.org/genome |