Permalink
Browse files

removed JBUNDLER_CLASSPATH already set

  • Loading branch information...
1 parent 06321cb commit 5c8ed348a3dc2853221cf77429cb595fc15f2ace @mkristian committed Jan 24, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/jbundler/cli.rb
View
@@ -13,7 +13,7 @@ def do_show
config = JBundler::Config.new
classpath_file = JBundler::ClasspathFile.new(config.classpath_file)
if classpath_file.exists?
- classpath_file.require_classpath
+ classpath_file.require_classpath unless defined? JBUNDLER_CLASSPATH
puts "JBundler classpath:"
JBUNDLER_CLASSPATH.each do |path|
puts " * #{path}"
@@ -46,6 +46,7 @@ def update
require 'jbundler'
do_show
+ puts ''
puts 'Your jbundle is updated! Use `jbundle show` to see where the bundled jars are installed.'
end
end

0 comments on commit 5c8ed34

Please sign in to comment.