Skip to content

Commit d31508a

Browse files
committed
display filenames in android-push
1 parent e3034f3 commit d31508a

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

release/bin/swift-android-push

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,14 @@ mypath=`which $0`
33
mydir=`dirname $mypath`
44
for i in $mydir/../lib/swift/android/*.so
55
do
6+
echo $i
67
adb push $i /data/local/tmp
78
done
9+
echo "libc++_shared.so"
810
adb push $ANDROID_NDK_HOME/sources/cxx-stl/llvm-libc++/libs/armeabi-v7a/libc++_shared.so /data/local/tmp
9-
adb push $1 /data/local/tmp
10-
adb shell chmod 755 /data/local/tmp/$1
11+
for i in $@
12+
do
13+
echo $i
14+
adb push $i /data/local/tmp
15+
adb shell chmod 755 /data/local/tmp/`basename $i`
16+
done

0 commit comments

Comments
 (0)