Skip to content

Commit

Permalink
Fix JuliaLang#363, the if statement should only be necessary when jup…
Browse files Browse the repository at this point in the history
…yter is not in path as suggested in jupyter/notebook#448
  • Loading branch information
dhoegh committed Sep 27, 2015
1 parent 855235f commit 1fb25fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ copy_config("logo-32x32.png", juliakspec)
copy_config("logo-64x64.png", juliakspec)

eprintln("Installing julia kernelspec $spec_name")
if basename(jupyter) == "jupyter"
if basename(jupyter) == "jupyter" && dirname(jupyter) == abspath(Conda.SCRIPTDIR)
# Remove the commit that added this when https://github.com/jupyter/notebook/issues/448 is closed
run(`$jupyter-kernelspec install --replace --user $juliakspec`)
else
Expand Down

0 comments on commit 1fb25fc

Please sign in to comment.