Move cd before checkout since we need to be in the repo.

This commit is contained in:
Eric Perry 2017-01-18 11:27:00 -05:00
parent 31a4ca502a
commit b980bf36c2

View File

@ -17,12 +17,12 @@ echo ":: Installing python module C kernel."
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 ..