Sfoglia il codice sorgente

Replaced kernel with uname

Fixing-travis-yml
BinHong Lee 7 anni fa
parent
commit
5c675d877d
2 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. +1
    -1
      install.sh
  2. +3
    -3
      uninstall.sh

+ 1
- 1
install.sh Vedi File

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


+ 3
- 3
uninstall.sh Vedi File

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


Caricamento…
Annulla
Salva