Created
November 30, 2015 17:03
-
-
Save pavelbinar/8a3ad117e94de9dc8d15 to your computer and use it in GitHub Desktop.
install_for_mac_or_for_linux.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Script to launch installer jar based on linux/mac os | |
| unamestr=`uname` | |
| if [[ "$unamestr" == 'Linux' ]]; then | |
| sudo java -jar "${BIN_DIR}/Installer.jar" tv $@ | |
| else | |
| sudo java -XstartOnFirstThread -jar "${BIN_DIR}/Installer.jar" tv $@ | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment