mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
stop changing directiories/assuing where it'll be run from
This commit is contained in:
parent
05c220cf40
commit
8590466229
1 changed files with 6 additions and 4 deletions
|
@ -1,6 +1,11 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
OLDDIR=$(pwd)
|
set -e -u
|
||||||
|
|
||||||
|
if [ ! -e build.xml ]; then
|
||||||
|
echo "no build.xml; please run from root of source tree"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -z "$NDK_ROOT" ]; then
|
if [ -z "$NDK_ROOT" ]; then
|
||||||
echo -n "NDK_ROOT not set... "
|
echo -n "NDK_ROOT not set... "
|
||||||
|
@ -8,9 +13,6 @@ if [ -z "$NDK_ROOT" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd $(dirname $0)/../XWords4
|
|
||||||
|
|
||||||
${NDK_ROOT}/ndk-build $*
|
${NDK_ROOT}/ndk-build $*
|
||||||
|
|
||||||
cd $OLDDIR
|
|
||||||
echo "$0 done"
|
echo "$0 done"
|
||||||
|
|
Loading…
Add table
Reference in a new issue