Ninslash: updated

This commit is contained in:
Sergii Pylypenko
2016-08-23 23:49:12 +03:00
parent ee54f13f75
commit 4a3ab0c1ad
3 changed files with 14 additions and 12 deletions

View File

@@ -96,16 +96,18 @@ else
fi
MYARCH=linux-x86_64
NCPU=4
if uname -s | grep -i "linux" > /dev/null ; then
MYARCH=linux-x86_64
NCPU=`cat /proc/cpuinfo | grep -c -i processor`
fi
if uname -s | grep -i "darwin" > /dev/null ; then
MYARCH=darwin-x86_64
fi
if uname -s | grep -i "windows" > /dev/null ; then
MYARCH=windows-x86_64
if [ -z "$NCPU" ]; then
NCPU=4
if uname -s | grep -i "linux" > /dev/null ; then
MYARCH=linux-x86_64
NCPU=`cat /proc/cpuinfo | grep -c -i processor`
fi
if uname -s | grep -i "darwin" > /dev/null ; then
MYARCH=darwin-x86_64
fi
if uname -s | grep -i "windows" > /dev/null ; then
MYARCH=windows-x86_64
fi
fi
$quick_rebuild || rm -r -f project/bin/* # New Android SDK introduced some lame-ass optimizations to the build system which we should take care about

View File

@@ -54,6 +54,6 @@ for ARCH in armeabi-v7a x86; do
cd ../..
done
ln -s ../src/logo.png ../AndroidData/
ln -s -f ../src/logo.png ../AndroidData/
exit 0