Skip to content

Commit

Permalink
fix update_index in test to index channel, not subdir
Browse files Browse the repository at this point in the history
  • Loading branch information
msarahan committed Sep 13, 2018
1 parent 3213998 commit 0a53c8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conda_build/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -1745,7 +1745,7 @@ def _construct_metadata_for_test_from_package(package, config):
local_pkg_location = local_dir

# get channel url
local_channel = os.path.dirname(local_pkg_location)
local_channel = os.path.dirname(os.path.dirname(local_pkg_location))

# update indices in the channel
update_index(local_channel, verbose=config.verbose)
Expand Down

0 comments on commit 0a53c8f

Please sign in to comment.