diff --git a/IPython/external/mathjax.py b/IPython/external/mathjax.py index 911da9c..d222b3d 100644 --- a/IPython/external/mathjax.py +++ b/IPython/external/mathjax.py @@ -240,8 +240,7 @@ def main() : dest = pargs.install_dir else: profile = pargs.profile - static = os.path.join(locate_profile(profile), 'static') - dest = os.path.join(static, 'mathjax') + dest = os.path.join(locate_profile(profile), 'static', 'mathjax') if pargs.dest : print dest