From 7bd4a051dbfbf7b3e180743a13f9876c9562c072 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Wed, 26 Mar 2014 11:51:10 +0100 Subject: [PATCH] bug fix --- hardware/Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardware/Rakefile b/hardware/Rakefile index 2784187..fac60c7 100644 --- a/hardware/Rakefile +++ b/hardware/Rakefile @@ -24,7 +24,7 @@ names.each do |name| # schematic revision, based on the number of schematic commits sch_rev = `git log --pretty=oneline "#{sch}" | wc -l`.chomp.to_i # pcb layout revision, based on the number of pcb commits - pcb_rev = pcbs.collect {|pcb| `git log --pretty=oneline "#{pcb}" | wc -l`.chomp.to_i} + pcb_rev = `git log --pretty=oneline "#{pcb}" | wc -l`.chomp.to_i # schema name with version and revition vsch = "#{name}_v#{version}.#{sch_rev.to_s.rjust(3,'0')}.sch" # pcb layout name with version and revition