Просмотр исходного кода

Replaced kernel with uname

Fixing-travis-yml
BinHong Lee 7 лет назад
Родитель
Сommit
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 ../


Загрузка…
Отмена
Сохранить