Use script-helper in android-release

pull/22/head
Tatsuhiro Tsujikawa 2012-06-30 01:02:46 +09:00
parent 7e95dcdc02
commit 9db057c6bc
1 changed files with 6 additions and 8 deletions

View File

@ -38,18 +38,16 @@ fi
TOOLCHAIN=$ANDROID_HOME/toolchain
PATH=$TOOLCHAIN/bin:$PATH
VERSION=$1
ANDROID_API=$2
. ./script-helper
get_version
if [ -z "$VERSION" ]; then
echo "No version specified"
exit 1
fi
if [ -z "$ANDROID_API" ]; then
echo "No android API specified"
echo "No version found"
exit 1
fi
DIST_DIR=aria2-$VERSION-$ANDROID_API-build1
DIST_DIR=aria2-$VERSION-android-build1
arm-linux-androideabi-strip src/aria2c
mkdir $DIST_DIR
cp AUTHORS COPYING ChangeLog LICENSE.OpenSSL NEWS README.html README.android \