lib/autoproj/autobuild.rb in autoproj-1.9.5.rc5 vs lib/autoproj/autobuild.rb in autoproj-1.9.5
- old
+ new
@@ -182,10 +182,10 @@
# @param [Autobuild::Package] the package we are dealing with
# @param [Autoproj::InstallationManifest] the other root's installation
# manifest
def pick_from_autoproj_root(package, installation_manifest)
other_pkg = installation_manifest[package.name]
- return if !other_pkg
+ return if !other_pkg || !File.directory?(other_pkg.srcdir)
self.relocate(other_pkg.srcdir)
true
end
end