Skip to content

Commit

Permalink
Make prepare-dev.py create Djblets media folder in the right place.
Browse files Browse the repository at this point in the history
prepare-dev.py was attempting to create the Djblets media folder in
reviewboard/htdocs/media/djblets instead of
reviewboard/reviewboard/htdocs/media/djblets.

Reviewed at http://reviews.reviewboard.org/r/2953/
  • Loading branch information
mikeconley committed Mar 10, 2012
1 parent b7e99f8 commit e2ea99e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contrib/internal/prepare-dev.py
Expand Up @@ -73,7 +73,8 @@ def install_media(site):
print "Using Djblets media from %s" % \
pkg_resources.resource_filename("djblets", "media")

site.link_pkg_dir("djblets", "media", os.path.join(media_path, "djblets"))
site.link_pkg_dir("djblets", "media",
os.path.join(site.install_dir, media_path, "djblets"))


def build_egg_info():
Expand Down

0 comments on commit e2ea99e

Please sign in to comment.