Skip to content

Commit

Permalink
Use script-helper in android-release
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsuhiro-t committed Jun 29, 2012
1 parent 7e95dcd commit 9db057c
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions android-release
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 9db057c

Please sign in to comment.