lib/autoproj/autobuild.rb in autoproj-2.0.0.rc32 vs lib/autoproj/autobuild.rb in autoproj-2.0.0.rc33
- old
+ new
@@ -101,10 +101,10 @@
def post_import(&block)
Autoproj.post_import(self, &block)
end
def autoproj_name # :nodoc:
- srcdir.gsub /^#{Regexp.quote(Autoproj.root_dir)}\//, ''
+ srcdir.gsub(/^#{Regexp.quote(Autoproj.root_dir)}\//, '')
end
alias __depends_on__ depends_on
def depends_on(name)
if name.respond_to?(:name) # probably a Package object