浏览代码

Replaced kernel with uname

Fixing-travis-yml
BinHong Lee 7 年前
父节点
当前提交
5c675d877d
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. +1
    -1
      install.sh
  2. +3
    -3
      uninstall.sh

+ 1
- 1
install.sh 查看文件

@@ -1,4 +1,4 @@
if [ $kernel == "Darwin" ]; then
if [ $(uname) == "Darwin" ]; then
brew install ant
brew install jsoncpp
else


+ 3
- 3
uninstall.sh 查看文件

@@ -1,8 +1,8 @@
if [ $kernel == "Darwin" ]; then
sudo apt-get remove --purge libjsoncpp-dev
else
if [ $(uname) == "Darwin" ]; then
brew uninstall jsoncpp
brew uninstall ant
else
sudo apt-get remove --purge libjsoncpp-dev
fi

cd ../


正在加载...
取消
保存