diff --git a/common.sh b/common.sh index 490ddf2..38e5ea0 100755 --- a/common.sh +++ b/common.sh @@ -33,6 +33,7 @@ function cloneOrUpdate() { mkdir ${name} else echo "${name}已是最新版本,无需更新" + cd ${name} return fi fi diff --git a/install_ndn-cxx.sh b/install_ndn-cxx.sh index c045222..0fb7b0f 100755 --- a/install_ndn-cxx.sh +++ b/install_ndn-cxx.sh @@ -10,6 +10,8 @@ NDN_CXX_VERSION=0.6.6 sudo apt-get install build-essential libsqlite3-dev libssl-dev curl tar -y sudo apt-get install doxygen graphviz python-sphinx python-pip python3-sphinx python3-pip -y sudo pip3 install sphinxcontrib-doxylink sphinxcontrib-googleanalytics +pip3 install --upgrade pip +pip3 install --upgrade setuptools # install ndn-cxx cloneOrUpdate ndn-cxx https://github.com/named-data/ndn-cxx/archive/ndn-cxx-${NDN_CXX_VERSION}.tar.gz ${NDN_CXX_VERSION}