瀏覽代碼

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 ../


Loading…
取消
儲存