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

replaced tabs with spaces

This commit is contained in:
Marcel 2015-05-16 23:09:48 +02:00 committed by marcel
parent 7608b901a1
commit a2b6bb7cfd

View File

@ -7,6 +7,7 @@ if [ ! -z "$WINDOWS_VERSION" ]; then
exit $?
fi
################ parameters ################
# directory where the script is located
SCRIPT_DIR=$( cd $(dirname $0); pwd -P)
@ -45,9 +46,10 @@ INSTALL_FILTER_AUDIO=true
SYSTEM_WIDE=true
KEEP_BUILD_FILES=false
########## parse input parameters ##########
while [ $# -ge 1 ] ; do
if [ ${1} = "--with-tox" ] ; then
if [ ${1} = "--with-tox" ] ; then
INSTALL_TOX=true
shift
elif [ ${1} = "--without-tox" ] ; then
@ -93,7 +95,7 @@ if [ ${1} = "--with-tox" ] ; then
done
########## print debug output ##########
############ print debug output ############
echo "with tox : ${INSTALL_TOX}"
echo "with filter-audio : ${INSTALL_FILTER_AUDIO}"
echo "install into ${INSTALL_DIR} : ${SYSTEM_WIDE}"
@ -110,6 +112,8 @@ mkdir -p ${BASE_DIR}
rm -rf ${BASE_DIR}/${TOX_CORE_DIR}
rm -rf ${BASE_DIR}/${FILTER_AUDIO_DIR}
############### install step ###############
#install libtoxcore
if [[ $INSTALL_TOX = "true" ]]; then
git clone https://github.com/irungentoo/toxcore.git ${BASE_DIR}/${TOX_CORE_DIR} --depth 1