mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-07 05:24:46 +01:00
d5eca2027a
local.properties is loaded, to generate it with a path to sdk appropriate to the installation.
16 lines
298 B
Bash
Executable file
16 lines
298 B
Bash
Executable file
#!/bin/sh
|
|
|
|
echo "i am here"
|
|
|
|
cd $(dirname $0)
|
|
cd ../XWords4
|
|
|
|
if [ ! -e local.properties ]; then
|
|
ANDROID="$(which android)"
|
|
SDK_DIR=$(dirname $ANDROID)
|
|
SDK_DIR=$(dirname $SDK_DIR)
|
|
echo "# generated by $0" > local.properties
|
|
echo "sdk.dir=$SDK_DIR" >> local.properties
|
|
fi
|
|
|
|
exit 0
|