1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Merge pull request #2962 from RowenStipe:patch_OSX-Script

Condensed a little bit and fixed function name
This commit is contained in:
Zetok Zalbavar 2016-02-20 11:24:56 +00:00
commit ef5b9b8c1e
No known key found for this signature in database
GPG Key ID: C953D3880212068A

View File

@ -24,20 +24,16 @@
# Your home DIR really (Most of this happens in it) {DONT USE: ~ }
if [[ $TRAVIS = true ]]; then #travis check
MAIN_DIR="${TRAVIS_BUILD_DIR}"
QTOX_DIR="${MAIN_DIR}"
else
MAIN_DIR="/Users/${USER}"
QTOX_DIR="${MAIN_DIR}/qTox"
fi
QT_DIR="/usr/local/Cellar/qt5" # Folder name of QT install
VER="${QT_DIR}/5.5.1_2" # Potential future proffing for version testing
QMAKE="${VER}/bin/qmake" # Don't change
MACDEPLOYQT="${VER}/bin/macdeployqt" # Don't change
if [[ $TRAVIS = true ]]; then #travis check
QTOX_DIR="${MAIN_DIR}"
else
QTOX_DIR="${MAIN_DIR}/qTox" # Change to Git location
fi
TOXCORE_DIR="${MAIN_DIR}/toxcore" # Change to Git location
FA_DIR="${MAIN_DIR}/filter_audio"
@ -178,7 +174,7 @@ function update() {
git pull
read -r -p "Did Toxcore update from git? [y/N] " response
if [[ $response =~ ^([yY][eE][sS]|[yY])$ ]]; then
build-toxcore
build_toxcore
else
fcho "Moving on!"
fi