fix creation/populate of app

This commit is contained in:
Mathieu Virbel 2012-03-09 02:46:16 +01:00
parent fcd89f675a
commit 6b024f796e
4 changed files with 7 additions and 3 deletions

View file

@ -21,7 +21,7 @@ fi
pushd $TMPROOT/kivy
export LDSHARED="$KIVYIOSROOT/tools/liblink"
export CFLAGS="$ARM_CFLAGS"
make ios
try make ios
popd
# FIXME this part is build/cpu dependent :/

View file

@ -4,10 +4,12 @@ try () {
"$@" || exit -1
}
. $(dirname $0)/environment.sh
APPNAME=$1
APPID=$(echo $APPNAME | tr '[A-Z]' '[a-z]')
TEMPLATESDIR=$(dirname $0)/templates/
APPDIR=$(dirname $0)/app-$APPID
APPDIR=$KIVYIOSROOT/app-$APPID
if [ "X$APPNAME" == "X" ]; then
echo $(basename $0) "<appname>"
exit 1

View file

@ -4,9 +4,11 @@ try () {
"$@" || exit -1
}
. $(dirname $0)/environment.sh
APPNAME=$1
APPID=$(echo $APPNAME | tr '[A-Z]' '[a-z]')
APPDIR=$(dirname $0)/app-$APPID
APPDIR=$KIVYIOSROOT/app-$APPID
SRCDIR=$2
if [ "X$APPNAME" == "X" ]; then

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 9.9 KiB