Skip to content
This repository has been archived by the owner on Mar 16, 2022. It is now read-only.

Commit

Permalink
Add debugging output to translate_dependency_url
Browse files Browse the repository at this point in the history
because things just got complicated with manifests and multiple stacks.
  • Loading branch information
flavorjones committed Mar 5, 2015
1 parent 79c3b6b commit 2d27da1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions bin/translate_dependency_url
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ end

if File.exist? cache_path
file_path = File.join(cache_path, translated_uri.gsub(/[\/:]/, '_'))

puts "file://#{file_path}"
else
puts translated_uri
translated_uri = "file://#{file_path}"
end

if ENV['BP_DEBUG']
STDERR.puts "DEBUG: #{File.basename(__FILE__)}: #{translated_uri}"
end

puts translated_uri

0 comments on commit 2d27da1

Please sign in to comment.