# HG changeset patch # User Eric Perry # Date 1484756820 18000 # Node ID 94feb02907154e1cc801f577aa401c9392f8f20c # Parent d3fdb29f3fdc55e8a4f8cb9ab675fcb223ca6a87 Move cd before checkout since we need to be in the repo. diff -r d3fdb29f3fdc -r 94feb0290715 install.sh --- a/install.sh Wed Jan 18 11:18:51 2017 -0500 +++ b/install.sh Wed Jan 18 11:27:00 2017 -0500 @@ -17,12 +17,12 @@ pip install $repo_name; echo "Done. " echo ":: Cloning Jupyter C-kernel... " git clone $repository $repo_name; echo "Done. " +cd $repo_name if [ ! -z "$tag_name" ]; then echo ":: Using tag $tag_name" git checkout "$tag_name"; echo "Done." fi echo ":: Installing kernel specification" -cd $repo_name jupyter-kernelspec install c_spec/ ; echo "Done." echo ":: Removing repository" cd ..