Browse Source

Replaced kernel with uname

Fixing-travis-yml
BinHong Lee 7 years ago
parent
commit
5c675d877d
2 changed files with 4 additions and 4 deletions
  1. +1
    -1
      install.sh
  2. +3
    -3
      uninstall.sh

+ 1
- 1
install.sh View File

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


+ 3
- 3
uninstall.sh View 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 ../


Loading…
Cancel
Save